Struct InterestHandlerWaker
pub struct InterestHandlerWaker {
    handler: Arc<Mutex<Box<dyn InterestHandler + Send + Sync>>>,
    interest: InterestType,
}Fields§
§handler: Arc<Mutex<Box<dyn InterestHandler + Send + Sync>>>§interest: InterestTypeImplementations§
§impl InterestHandlerWaker
 
impl InterestHandlerWaker
pub fn wake_now(&self)
pub fn set_interest( self: &Arc<InterestHandlerWaker>, interest: InterestType, ) -> Arc<InterestHandlerWaker>
pub fn as_waker(self: &Arc<InterestHandlerWaker>) -> Waker
Trait Implementations§
§impl Clone for InterestHandlerWaker
 
impl Clone for InterestHandlerWaker
§fn clone(&self) -> InterestHandlerWaker
 
fn clone(&self) -> InterestHandlerWaker
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 moreAuto Trait Implementations§
impl Freeze for InterestHandlerWaker
impl RefUnwindSafe for InterestHandlerWaker
impl Send for InterestHandlerWaker
impl Sync for InterestHandlerWaker
impl Unpin for InterestHandlerWaker
impl UnwindSafe for InterestHandlerWaker
Blanket Implementations§
§impl<T> ArchivePointee for T
 
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
 
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
 
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
 
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
 
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.