Enum tokio::util::idle_notified_set::List
source · enum List {
Notified,
Idle,
Neither,
}
Expand description
Which of the two lists in the shared Lists object is this entry stored in?
If the value is Idle
, then an entry’s waker may move it to the notified
list. Otherwise, only the IdleNotifiedSet
may move it.
If the value is Neither
, then it is still possible that the entry is in
some third external list (this happens in drain
).
Variants§
Trait Implementations§
impl Copy for List
impl Eq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)