Struct splinter::service::StandardServiceNetworkRegistry [−][src]
pub struct StandardServiceNetworkRegistry { /* fields omitted */ }
Implementations
This is an implementation of ServiceNetworkRegistry that can be used by a standard service that does not require special funcationality
Trait Implementations
fn connect(
&self,
service_id: &str
) -> Result<Box<dyn ServiceNetworkSender>, ServiceConnectionError>
fn connect(
&self,
service_id: &str
) -> Result<Box<dyn ServiceNetworkSender>, ServiceConnectionError>
Sends a ServiceConnectRequest for the provided service_id and blocks until the connection response is returned from the splinter node
Sends a ServiceDisconnectRequest for the provided service_id and blocks until the disconnection response is returned from the splinter node
Auto Trait Implementations
impl !RefUnwindSafe for StandardServiceNetworkRegistry
impl Send for StandardServiceNetworkRegistry
impl !Sync for StandardServiceNetworkRegistry
impl Unpin for StandardServiceNetworkRegistry
impl !UnwindSafe for StandardServiceNetworkRegistry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
type Output = T
type Output = T
Should always be Self