Struct futures_channel::mpsc::UnboundedInner
source · struct UnboundedInner<T> {
state: AtomicUsize,
message_queue: Queue<T>,
num_senders: AtomicUsize,
recv_task: AtomicWaker,
}
Fields§
§state: AtomicUsize
§message_queue: Queue<T>
§num_senders: AtomicUsize
§recv_task: AtomicWaker
Implementations§
source§impl<T> UnboundedInner<T>
impl<T> UnboundedInner<T>
fn set_closed(&self)
Trait Implementations§
impl<T: Send> Send for UnboundedInner<T>
impl<T: Send> Sync for UnboundedInner<T>
Auto Trait Implementations§
impl<T> !Freeze for UnboundedInner<T>
impl<T> !RefUnwindSafe for UnboundedInner<T>
impl<T> Unpin for UnboundedInner<T>
impl<T> UnwindSafe for UnboundedInner<T>where
T: RefUnwindSafe,
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