pub enum InterestReceiver {
UnblockThread(ThreadId),
}Expand description
An interest receiver defines the action that should be taken when
the associated [Interest] is fulfilled.
Variants§
Trait Implementations§
Source§impl Clone for InterestReceiver
impl Clone for InterestReceiver
Source§fn clone(&self) -> InterestReceiver
fn clone(&self) -> InterestReceiver
Returns a duplicate 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 InterestReceiver
impl Debug for InterestReceiver
Source§impl Hash for InterestReceiver
impl Hash for InterestReceiver
Source§impl Ord for InterestReceiver
impl Ord for InterestReceiver
Source§fn cmp(&self, other: &InterestReceiver) -> Ordering
fn cmp(&self, other: &InterestReceiver) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterestReceiver
impl PartialEq for InterestReceiver
Source§impl PartialOrd for InterestReceiver
impl PartialOrd for InterestReceiver
impl Copy for InterestReceiver
impl Eq for InterestReceiver
impl StructuralPartialEq for InterestReceiver
Auto Trait Implementations§
impl Freeze for InterestReceiver
impl RefUnwindSafe for InterestReceiver
impl Send for InterestReceiver
impl Sync for InterestReceiver
impl Unpin for InterestReceiver
impl UnsafeUnpin for InterestReceiver
impl UnwindSafe for InterestReceiver
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: 4 bytes