Struct tiny_rpc::io::RpcSink[][src]

pub struct RpcSink<T, U, S: IntoRpcSink<T, U>> { /* fields omitted */ }

Trait Implementations

impl<T, U, S: IntoRpcSink<T, U>> Sink<T> for RpcSink<T, U, S>[src]

type Error = Error

The type of value produced by the sink when an error occurs.

impl<'pin, T, U, S: IntoRpcSink<T, U>> Unpin for RpcSink<T, U, S> where
    __RpcSink<'pin, T, U, S>: Unpin
[src]

Auto Trait Implementations

impl<T, U, S> RefUnwindSafe for RpcSink<T, U, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U, S> Send for RpcSink<T, U, S> where
    S: Send,
    T: Send,
    U: Send

impl<T, U, S> Sync for RpcSink<T, U, S> where
    S: Sync,
    T: Sync,
    U: Sync

impl<T, U, S> UnwindSafe for RpcSink<T, U, S> where
    S: UnwindSafe,
    T: UnwindSafe,
    U: UnwindSafe

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> Instrument for T[src]

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

impl<T, U, E, S> IntoRpcSink<T, U> for S where
    E: Into<Error>,
    U: From<T>,
    S: Sink<U, Error = E> + SinkSealed<T, U>, 
[src]

impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized

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.