pub struct ReadinessInterest {
watched_fd: WeakFileDescriptionRef<dyn FileDescription>,
pub relevant: Readiness,
pub is_edge_triggered: bool,
pub data: u64,
active: Readiness,
}Fields§
§watched_fd: WeakFileDescriptionRef<dyn FileDescription>The FD we are interested in.
relevant: ReadinessThe mask of events the interest is interested in for this file descriptor.
is_edge_triggered: boolBoolean whether this is an edge-triggered interest.
When false it’s a level-triggered interest instead.
data: u64Data attached to the interest.
active: ReadinessThe currently active readiness for this file descriptor.
Implementations§
Trait Implementations§
Source§impl Clone for ReadinessInterest
impl Clone for ReadinessInterest
Source§fn clone(&self) -> ReadinessInterest
fn clone(&self) -> ReadinessInterest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !DynSend for ReadinessInterest
impl !DynSync for ReadinessInterest
impl !RefUnwindSafe for ReadinessInterest
impl !Send for ReadinessInterest
impl !Sync for ReadinessInterest
impl !UnwindSafe for ReadinessInterest
impl Freeze for ReadinessInterest
impl Unpin for ReadinessInterest
impl UnsafeUnpin for ReadinessInterest
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: 40 bytes