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]
impl SocketEvents
pub fn input(&self) -> bool
[src]
pub fn input(&self) -> bool
Wait for incoming data. For the socket to become readable.
pub fn output(&self) -> bool
[src]
pub fn output(&self) -> bool
Wait for outgoing data. For the socket to become writable.
pub fn input_and_output(&self) -> bool
[src]
pub fn input_and_output(&self) -> bool
Wait for incoming and outgoing data. For the socket to become readable or writable.
pub fn remove(&self) -> bool
[src]
pub fn remove(&self) -> bool
The specified socket/file descriptor is no longer used by libcurl.
Trait Implementations
impl Debug for SocketEvents
[src]
impl Debug for SocketEvents
Auto Trait Implementations
impl Send for SocketEvents
impl Send for SocketEvents
impl Sync for SocketEvents
impl Sync for SocketEvents