Struct doublecross::BiChannel[][src]

pub struct BiChannel<T, U> {
    pub rx: Receiver<T>,
    pub tx: Sender<U>,
}

Bi-directional communication build on, and usable with, crossbeam-channel channels.

Fields

Methods

impl<T, U> BiChannel<T, U>
[src]

Trait Implementations

impl<'a, T, U> RecvArgument<'a, T> for &'a BiChannel<T, U>
[src]

Converts the argument into an iterator over receivers.

impl<'a, T, U> SendArgument<'a, T> for &'a BiChannel<U, T>
[src]

Converts the argument into an iterator over senders.

Auto Trait Implementations

impl<T, U> Send for BiChannel<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for BiChannel<T, U> where
    T: Send,
    U: Send