pub struct BiChannel<T, U> {
pub rx: Receiver<T>,
pub tx: Sender<U>,
}
Expand description
Bi-directional communication build on, and usable with, crossbeam-channel channels.
Fields§
§rx: Receiver<T>
§tx: Sender<U>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, U> !Freeze for BiChannel<T, U>
impl<T, U> RefUnwindSafe for BiChannel<T, U>
impl<T, U> Send for BiChannel<T, U>
impl<T, U> Sync for BiChannel<T, U>
impl<T, U> Unpin for BiChannel<T, U>
impl<T, U> UnwindSafe for BiChannel<T, U>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more