Struct curl::multi::SocketEvents
source · [−]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
sourceimpl 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 RefUnwindSafe for SocketEvents
impl Send for SocketEvents
impl Sync for SocketEvents
impl Unpin for SocketEvents
impl UnwindSafe for SocketEvents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more