Struct message_io::network::NetworkProcessor[][src]

pub struct NetworkProcessor { /* fields omitted */ }
Expand description

Instance in charge of process input network events. These events are offered to the user as a NetEvent its processing data.

Implementations

Process the next poll event. This method waits the timeout specified until the poll event is generated. If None is passed as timeout, it will wait indefinitely. Note that there is no 1-1 relation between an internal poll event and a NetEvent. You need to assume that process an internal poll event could call 0 or N times to the callback with diferents NetEvents.

Process poll events until there is no more events during a timeout duration. This method makes succesive calls to NetworkProcessor::process_poll_event().

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

Performs the conversion.

Performs the conversion.

Should always be Self

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.