Struct rumpsteak::Branch[][src]

pub struct Branch<'q, Q: Route<R>, R: Route<Q>, C: External<'q, Q>> where
    Q::Route: Receiver<R>,
    R: Role<Message = Q::Message>,
    R::Route: Sender<Q>, 
{ /* fields omitted */ }

Implementations

impl<'q, Q: Route<R>, R: Route<Q>, C: External<'q, Q>> Branch<'q, Q, R, C> where
    Q::Route: Receiver<R>,
    R: Role<Message = Q::Message>,
    R::Route: Sender<Q>, 
[src]

pub async fn branch(self) -> Result<C, ReceiveError>[src]

Trait Implementations

impl<'q, Q: Route<R>, R: Route<Q>, C: External<'q, Q>> Session<'q, Q> for Branch<'q, Q, R, C> where
    Q::Route: Receiver<R>,
    R: Role<Message = Q::Message>,
    R::Route: Sender<Q>, 
[src]

Auto Trait Implementations

impl<'q, Q, R, C> RefUnwindSafe for Branch<'q, Q, R, C> where
    C: RefUnwindSafe,
    Q: RefUnwindSafe,
    R: RefUnwindSafe
[src]

impl<'q, Q, R, C> Send for Branch<'q, Q, R, C> where
    C: Send,
    Q: Send,
    R: Send
[src]

impl<'q, Q, R, C> Sync for Branch<'q, Q, R, C> where
    C: Sync,
    Q: Sync,
    R: Sync
[src]

impl<'q, Q, R, C> Unpin for Branch<'q, Q, R, C> where
    C: Unpin,
    R: Unpin
[src]

impl<'q, Q, R, C> !UnwindSafe for Branch<'q, Q, R, C>[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.