pub struct NetworkTap<T> { /* fields omitted */ }
Expand description
An instance of the socket/stream.
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 socket/stream is connected to remote host
Returns the PollFd. Will panic! if instance was initialized in blocking mode.
Returns the remote host Ip and port.
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 socket/stream is connected to remote host
Returns the PollFd. Will panic! if instance was initialized in blocking mode.
Returns the remote host Ip and port.
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,