pub struct Channel<T> {
pub tx: UnboundedSender<T>,
/* private fields */
}
Fields§
§tx: UnboundedSender<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Channel<T>
impl<T> !RefUnwindSafe for Channel<T>
impl<T> !Send for Channel<T>
impl<T> !Sync for Channel<T>
impl<T> Unpin for Channel<T>
impl<T> !UnwindSafe for Channel<T>
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