pub fn serve_with_registry(
listener: &TcpListener,
opts: &ServeOptions,
registry: &Registry,
) -> Result<(), AppError>Expand description
Like serve but routes through a caller-provided Registry, so the
device-registration set is observable (used by tests to assert that a dead
device is reaped; bd-86ab7a).
ยงErrors
Returns AppError::internal on a fatal accept error.