Struct base::TriggeredEvent
source · pub struct TriggeredEvent<T: EventToken> {
pub token: T,
pub is_readable: bool,
pub is_writable: bool,
pub is_hungup: bool,
}
Expand description
Represents an event that has been signaled and waited for via a wait function.
Fields§
§token: T
§is_readable: bool
§is_writable: bool
§is_hungup: bool
Trait Implementations§
source§impl<T: Clone + EventToken> Clone for TriggeredEvent<T>
impl<T: Clone + EventToken> Clone for TriggeredEvent<T>
source§fn clone(&self) -> TriggeredEvent<T>
fn clone(&self) -> TriggeredEvent<T>
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<T: Debug + EventToken> Debug for TriggeredEvent<T>
impl<T: Debug + EventToken> Debug for TriggeredEvent<T>
impl<T: Copy + EventToken> Copy for TriggeredEvent<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for TriggeredEvent<T>where
T: RefUnwindSafe,
impl<T> Send for TriggeredEvent<T>where
T: Send,
impl<T> Sync for TriggeredEvent<T>where
T: Sync,
impl<T> Unpin for TriggeredEvent<T>where
T: Unpin,
impl<T> UnwindSafe for TriggeredEvent<T>where
T: 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