pub struct Events { /* private fields */ }
Expand description

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.

Implementations

Creates a new blank event bit mask.

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

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

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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.