Struct cdns_rs::a_sync::network::NetworkTap[][src]

pub struct NetworkTap<T> { /* fields omitted */ }
Expand description

An instance of the socket/stream.

Trait Implementations

Formats the value using the given formatter. Read more

Connects to the remote host.
If timeout is not set, the socket is initialized in non blocking mode and [PollFd] is created to use with poll(2).
If timeout is set, then the socket is initialized in blocking mode with timeout. Tht [PollFd] is not generated! Read more

Tells if current instance is TcpStream if true, or UdpSocket if false

Tells if socket/stream is connected to remote host

Returns the remote host Ip and port.

Sends data over wire.

Receives data transmitted from remote host. In nonblocking mode it should be called only after the event was polled In blocking mode it will block until received or timeout. Read more

Connects to the remote host.
If timeout is not set, the socket is initialized in non blocking mode and [PollFd] is created to use with poll(2).
If timeout is set, then the socket is initialized in blocking mode with timeout. Tht [PollFd] is not generated! Read more

Tells if current instance is TcpStream if true, or UdpSocket if false

Tells if socket/stream is connected to remote host

Returns the remote host Ip and port.

Sends data over wire.

Receives data transmitted from remote host. In nonblocking mode it should be called only after the event was polled In blocking mode it will block until received or timeout. 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.