pub trait ConnectionManagerContext: Send + Sync + 'static + Sized {
    type ConnectionInfo: ConnectionInfo;

    fn connection_manager() -> &'static ConnectionManager<Self::ConnectionInfo>;
    fn state_cache(
    ) -> &'static LocalKey<RefCell<Cache<&'static ArcSwap<ConnectionState>, Arc<ConnectionState>>>>; fn get_connection() -> ManagedConnection<Self> { ... } fn with_state<T>(with_fn: fn(_: &ConnectionState) -> T) -> T { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors