Skip to main content

serve

Function serve 

Source
pub fn serve(
    listener: &TcpListener,
    opts: &ServeOptions,
) -> Result<(), AppError>
Expand description

Run the relay accept loop on listener. One thread per connection; the shared Registry routes sender casts to registered devices.

ยงErrors

Returns AppError::internal on a fatal accept error.