Struct curl::multi::Events [−][src]
pub struct Events { /* fields omitted */ }
Notification of the events that have happened on a socket.
This type is passed as an argument to the action
method on a multi handle
to indicate what events have occurred on a socket.
Methods
impl Events
[src]
impl Events
pub fn new() -> Events
[src]
pub fn new() -> Events
Creates a new blank event bit mask.
pub fn input(&mut self, val: bool) -> &mut Events
[src]
pub fn input(&mut self, val: bool) -> &mut Events
Set or unset the whether these events indicate that input is ready.
pub fn output(&mut self, val: bool) -> &mut Events
[src]
pub fn output(&mut self, val: bool) -> &mut Events
Set or unset the whether these events indicate that output is ready.
pub fn error(&mut self, val: bool) -> &mut Events
[src]
pub fn error(&mut self, val: bool) -> &mut Events
Set or unset the whether these events indicate that an error has happened.