[][src]Struct netxclient::Actor

pub struct Actor<I> { /* fields omitted */ }

Implementations

impl<I> Actor<I> where
    I: 'static, 
[src]

pub fn new(x: I) -> Actor<I>[src]

pub async fn inner_call<T, S>(
    &'_ self,
    call: impl Send + Sync + FnOnce(Arc<InnerStore<I>>) -> T + 'static
) -> Result<S, AError> where
    T: Future<Output = Result<S, AError>> + Send + Sync + 'static,
    S: 'static, 
[src]

pub unsafe fn deref_inner(&self) -> RefInner<'_, I>[src]

Trait Implementations

impl<T: SessionSave + 'static> INetXClient<T> for Actor<NetXClient<T>>[src]

impl SocketClientTrait for Actor<TcpClient>[src]

Auto Trait Implementations

impl<I> !Dummy for Actor<I>[src]

impl<I> !RefUnwindSafe for Actor<I>[src]

impl<I> Send for Actor<I>[src]

impl<I> Sync for Actor<I>[src]

impl<I> Unpin for Actor<I>[src]

impl<I> !UnwindSafe for Actor<I>[src]

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.