pub struct Events<S> { /* private fields */ }
Expand description
Shared event mask.
The event mask is an atomic bitmask shared between the executor and the event sources. The type
parameter S
is an EventMask
.
§Events or signals?
They are the same. The name “event” refers to their presence in the shared event mask, while the name “signal” refers to poll-local signal masks. Events become signals when they are handled or waited for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for Events<S>
impl<S> RefUnwindSafe for Events<S>where
S: RefUnwindSafe,
impl<S> Send for Events<S>where
S: Send,
impl<S> Sync for Events<S>where
S: Sync,
impl<S> Unpin for Events<S>where
S: Unpin,
impl<S> UnwindSafe for Events<S>where
S: UnwindSafe,
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