pub enum WakeResult {
Notified,
AlreadyPending,
Exited,
Unavailable,
}Expand description
Result of an IRQ-safe wake publication.
Variants§
Notified
This call completed a logical wake transaction. The thread is runnable, retained a park notification, or has owner-CPU activation committed.
AlreadyPending
An unresolved park-transition notification already represents this event.
Exited
The destination thread has exited, so the late wake is ignored.
No scheduler-ready CPU is currently reachable for wake delivery.
Trait Implementations§
Source§impl Clone for WakeResult
impl Clone for WakeResult
Source§fn clone(&self) -> WakeResult
fn clone(&self) -> WakeResult
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 WakeResult
Source§impl Debug for WakeResult
impl Debug for WakeResult
impl Eq for WakeResult
Source§impl PartialEq for WakeResult
impl PartialEq for WakeResult
impl StructuralPartialEq for WakeResult
Auto Trait Implementations§
impl Freeze for WakeResult
impl RefUnwindSafe for WakeResult
impl Send for WakeResult
impl Sync for WakeResult
impl Unpin for WakeResult
impl UnsafeUnpin for WakeResult
impl UnwindSafe for WakeResult
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