pub enum UnblockKind {
Ready,
TimedOut,
}
Expand description
The argument type for the “unblock” callback, indicating why the thread got unblocked.
Variants§
Ready
Operation completed successfully, thread continues normal execution.
TimedOut
The operation did not complete within its specified duration.
Trait Implementations§
Source§impl Clone for UnblockKind
impl Clone for UnblockKind
Source§fn clone(&self) -> UnblockKind
fn clone(&self) -> UnblockKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnblockKind
impl Debug for UnblockKind
Source§impl PartialEq for UnblockKind
impl PartialEq for UnblockKind
impl Copy for UnblockKind
impl StructuralPartialEq for UnblockKind
Auto Trait Implementations§
impl Freeze for UnblockKind
impl RefUnwindSafe for UnblockKind
impl Send for UnblockKind
impl Sync for UnblockKind
impl Unpin for UnblockKind
impl UnwindSafe for UnblockKind
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Ready
: 0 bytesTimedOut
: 0 bytes