[][src]Struct rmp_futures::rpc::decode::RpcStream

pub struct RpcStream<R> { /* fields omitted */ }

Methods

impl<R: AsyncRead + Unpin> RpcStream<R>[src]

pub fn new(reader: R) -> Self[src]

pub fn as_mut(&mut self) -> RpcStream<&mut R>[src]

pub async fn next(self) -> IoResult<RpcMessage<RpcStream<R>>>[src]

Trait Implementations

impl<R: AsyncRead + Unpin> AsyncRead for RpcStream<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for RpcStream<R> where
    R: RefUnwindSafe

impl<R> Send for RpcStream<R> where
    R: Send

impl<R> Sync for RpcStream<R> where
    R: Sync

impl<R> Unpin for RpcStream<R> where
    R: Unpin

impl<R> UnwindSafe for RpcStream<R> where
    R: UnwindSafe

Blanket Implementations

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

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?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.