Struct curl::multi::SocketEvents
[−]
[src]
pub struct SocketEvents { /* fields omitted */ }
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.
Methods
impl SocketEvents
[src]
fn input(&self) -> bool
Wait for incoming data. For the socket to become readable.
fn output(&self) -> bool
Wait for outgoing data. For the socket to become writable.
fn input_and_output(&self) -> bool
Wait for incoming and outgoing data. For the socket to become readable or writable.
fn remove(&self) -> bool
The specified socket/file descriptor is no longer used by libcurl.