pub struct PollState {
pub readable: bool,
pub writable: bool,
pub readiness_version: u64,
}Expand description
I/O poll results.
Fields§
§readable: boolObject can be read now.
writable: boolObject can be writen now.
readiness_version: u64Monotonic token changed when the object’s readiness may have changed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PollState
impl RefUnwindSafe for PollState
impl Send for PollState
impl Sync for PollState
impl Unpin for PollState
impl UnsafeUnpin for PollState
impl UnwindSafe for PollState
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