Struct base::wait_context::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 more