pub enum NotificationRecheck {
Idle,
WorkPending,
}Expand description
Result of atomically enabling notifications and rechecking queue state.
Variants§
Idle
No work appeared before notification enablement became visible.
WorkPending
Work is already pending and must be processed without sleeping.
Trait Implementations§
Source§impl Clone for NotificationRecheck
impl Clone for NotificationRecheck
Source§fn clone(&self) -> NotificationRecheck
fn clone(&self) -> NotificationRecheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationRecheck
Source§impl Debug for NotificationRecheck
impl Debug for NotificationRecheck
impl Eq for NotificationRecheck
Source§impl PartialEq for NotificationRecheck
impl PartialEq for NotificationRecheck
Source§fn eq(&self, other: &NotificationRecheck) -> bool
fn eq(&self, other: &NotificationRecheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationRecheck
Auto Trait Implementations§
impl Freeze for NotificationRecheck
impl RefUnwindSafe for NotificationRecheck
impl Send for NotificationRecheck
impl Sync for NotificationRecheck
impl Unpin for NotificationRecheck
impl UnsafeUnpin for NotificationRecheck
impl UnwindSafe for NotificationRecheck
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