pub struct SocketEvents { /* private fields */ }
Expand description
Notification of events that are requested on a socket.
This type is yielded to the socket_function
callback to indicate what
events are requested on a socket.
Implementations§
Source§impl SocketEvents
impl SocketEvents
Sourcepub fn input_and_output(&self) -> bool
pub fn input_and_output(&self) -> bool
Wait for incoming and outgoing data. For the socket to become readable or writable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocketEvents
impl RefUnwindSafe for SocketEvents
impl Send for SocketEvents
impl Sync for SocketEvents
impl Unpin for SocketEvents
impl UnwindSafe for SocketEvents
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