Struct webrtc::mux::endpoint::Endpoint

source ·
pub struct Endpoint { /* private fields */ }
Expand description

Endpoint implements net.Conn. It is used to read muxed packets.

Implementations

Close unregisters the endpoint from the Mux

Trait Implementations

reads a packet of len(p) bytes from the underlying conn that are matched by the associated MuxFunc

writes bytes to the underlying conn

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.

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.