Struct splinter::network::connection_manager::ConnectionManager [−][src]
pub struct ConnectionManager { /* fields omitted */ }
Expand description
Creates, manages, and maintains connections. A connection manager guarantees that the connections it creates will be maintained via reconnections. This is not true for external connections.
Implementations
pub fn builder<T, U>() -> ConnectionManagerBuilder<T, U> where
T: ConnectionMatrixLifeCycle + 'static,
U: ConnectionMatrixSender + 'static,
pub fn builder<T, U>() -> ConnectionManagerBuilder<T, U> where
T: ConnectionMatrixLifeCycle + 'static,
U: ConnectionMatrixSender + 'static,
Construct a new ConnectionManagerBuilder
for creating a new ConnectionManager
instance.
Create a new connector for performing client operations on this instance’s state.
Blocks until a connection manager has shutdown. This is meant to allow a separate process to shutdown the connection manager via the shutdown handle while another process waits for that process to complete.
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionManager
impl Send for ConnectionManager
impl !Sync for ConnectionManager
impl Unpin for ConnectionManager
impl !UnwindSafe for ConnectionManager
Blanket Implementations
Mutably borrows from an owned value. 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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more