Struct crossbeam_channel::flavors::zero::Inner
source · struct Inner {
senders: Waker,
receivers: Waker,
is_disconnected: bool,
}
Expand description
Inner representation of a zero-capacity channel.
Fields§
§senders: Waker
Senders waiting to pair up with a receive operation.
receivers: Waker
Receivers waiting to pair up with a send operation.
is_disconnected: bool
Equals true
when the channel is disconnected.
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl !Send for Inner
impl !Sync for Inner
impl Unpin for Inner
impl UnwindSafe for Inner
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