Struct party_types::Rx[][src]

pub struct Rx<Role, T, Cont> { /* fields omitted */ }

Send a value T to the given Role

Implementations

impl<Role, T: Debug + 'static, Cont> Rx<Role, T, Cont>[src]

pub fn recv<Tr: Transport>(
    self,
    channel: &mut Channel<Role, Tr>
) -> Result<(T, Cont)>
[src]

Trait Implementations

impl<Role, T, Cont: Default> Default for Rx<Role, T, Cont>[src]

Auto Trait Implementations

impl<Role, T, Cont> RefUnwindSafe for Rx<Role, T, Cont> where
    Cont: RefUnwindSafe,
    Role: RefUnwindSafe,
    T: RefUnwindSafe

impl<Role, T, Cont> Send for Rx<Role, T, Cont> where
    Cont: Send,
    Role: Send,
    T: Send

impl<Role, T, Cont> Sync for Rx<Role, T, Cont> where
    Cont: Sync,
    Role: Sync,
    T: Sync

impl<Role, T, Cont> Unpin for Rx<Role, T, Cont> where
    Cont: Unpin,
    Role: Unpin,
    T: Unpin

impl<Role, T, Cont> UnwindSafe for Rx<Role, T, Cont> where
    Cont: UnwindSafe,
    Role: UnwindSafe,
    T: 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, 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.