pub struct PollState {
pub readable: bool,
pub writable: bool,
}
Expand description
Struct for poll result.
Fields§
§readable: bool
Object can be read now.
writable: bool
Object can be writen now.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PollState
impl Send for PollState
impl Sync for PollState
impl Unpin 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