Struct curl::multi::Events [] [src]

pub struct Events {
    // some 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

fn new() -> Events

Creates a new blank event bit mask.

fn input(&mut self, val: bool) -> &mut Events

Set or unset the whether these events indicate that input is ready.

fn output(&mut self, val: bool) -> &mut Events

Set or unset the whether these events indicate that output is ready.

fn error(&mut self, val: bool) -> &mut Events

Set or unset the whether these events indicate that an error has happened.