[][src]Struct safe_core::client::ClientInner

pub struct ClientInner<C: Client, T> { /* fields omitted */ }

Struct containing fields expected by the Client trait. Implementers of Client should be composed around this struct.

Methods

impl<C: Client, T> ClientInner<C, T>[src]

pub fn new(
    el_handle: Handle,
    connection_manager: ConnectionManager,
    cache: LruCache<IDataAddress, IData>,
    timeout: Duration,
    core_tx: CoreMsgTx<C, T>,
    net_tx: NetworkTx
) -> ClientInner<C, T>
[src]

Create a new ClientInner object.

pub fn cm(&mut self) -> &mut ConnectionManager[src]

Get the connection manager associated with the client

Auto Trait Implementations

impl<C, T> !Send for ClientInner<C, T>

impl<C, T> Unpin for ClientInner<C, T>

impl<C, T> !Sync for ClientInner<C, T>

impl<C, T> !UnwindSafe for ClientInner<C, T>

impl<C, T> !RefUnwindSafe for ClientInner<C, T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> UnsafeAny for T where
    T: Any

impl<T> Erased for T