Trait splinter::service::ServiceNetworkRegistry [−][src]
pub trait ServiceNetworkRegistry: Send {
fn connect(
&self,
service_id: &str
) -> Result<Box<dyn ServiceNetworkSender>, ServiceConnectionError>;
fn disconnect(
&self,
service_id: &str
) -> Result<(), ServiceDisconnectionError>;
}
Expand description
The ServiceNetworkRegistry trait provides functions to register and unregister the service on the network. It does not expose the circuit membership information directly.