Trait snocat::common::protocol::traits::ServiceRegistry [−][src]
pub trait ServiceRegistry { fn find_service(
self: Arc<Self>,
addr: &RouteAddress,
tunnel_id: &TunnelId
) -> Option<Arc<dyn Service + Send + Sync + 'static>>; }
Required methods
fn find_service(
self: Arc<Self>,
addr: &RouteAddress,
tunnel_id: &TunnelId
) -> Option<Arc<dyn Service + Send + Sync + 'static>>