Struct rich_sdl2_net_rust::sock::set::SocketSet[][src]

pub struct SocketSet<'net> { /* fields omitted */ }
Expand description

A socket set to observe a socket.

Implementations

Constructs a new socket set.

Constructs a new socket set with the capacity.

Returns the number of the active sockets in the socket set. Await timeout milliseconds until a socket become active.

Returns all the active sockets in the set.

Reserves capacity for at least additional more elements.

Appends a tcp/udp socket.

Removes a registered socket.

Trait Implementations

Executes the destructor for this type. 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

Performs the conversion.

Performs the conversion.

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.