[][src]Struct xi_rpc::RpcCtx

pub struct RpcCtx { /* fields omitted */ }

Methods

impl RpcCtx[src]

pub fn get_peer(&self) -> &RpcPeer[src]

pub fn schedule_idle(&self, token: usize)[src]

Schedule the idle handler to be run when there are no requests pending.

Auto Trait Implementations

impl Send for RpcCtx

impl Unpin for RpcCtx

impl !Sync for RpcCtx

impl !UnwindSafe for RpcCtx

impl !RefUnwindSafe for RpcCtx

Blanket Implementations

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.

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]