pub struct PollRes {
pub recv: bool,
pub send: bool,
}
Expand description
Result of a socket polling, tells whether the socket is readable or writable.
Fields§
§recv: bool
§send: bool
Auto Trait Implementations§
impl Freeze for PollRes
impl RefUnwindSafe for PollRes
impl Send for PollRes
impl Sync for PollRes
impl Unpin for PollRes
impl UnwindSafe for PollRes
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