Struct mio::poll::ReadinessNode
source · [−]struct ReadinessNode {
state: AtomicState,
token_0: UnsafeCell<Token>,
token_1: UnsafeCell<Token>,
token_2: UnsafeCell<Token>,
next_readiness: AtomicPtr<ReadinessNode>,
update_lock: AtomicBool,
readiness_queue: AtomicPtr<()>,
ref_count: AtomicUsize,
}
Expand description
Node shared by a Registration
/ SetReadiness
pair as well as the node
queued into the MPSC channel.
Fields
state: AtomicState
token_0: UnsafeCell<Token>
token_1: UnsafeCell<Token>
token_2: UnsafeCell<Token>
next_readiness: AtomicPtr<ReadinessNode>
update_lock: AtomicBool
readiness_queue: AtomicPtr<()>
ref_count: AtomicUsize
Implementations
sourceimpl ReadinessNode
impl ReadinessNode
Auto Trait Implementations
impl !RefUnwindSafe for ReadinessNode
impl Send for ReadinessNode
impl !Sync for ReadinessNode
impl Unpin for ReadinessNode
impl !UnwindSafe for ReadinessNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more