Type Alias TcpCountersWithSocket
Source pub type TcpCountersWithSocket<I> = IpMarked<I, TcpCountersWithSocketInner<Counter>>;
Expand description
Counters for TCP events that can be attributed to an individual socket.
These counters are tracked stack wide and per socket.
Note on dual stack sockets: These counters are tracked for SockI
.
struct TcpCountersWithSocket<I> { }
Implementations
Constructs a new IpMarked
from the provided T
.
Consumes the IpMarked
and returns the contained T
by value.
Gets an immutable reference to the underlying T
.
Gets an mutable reference to the underlying T
.
Trait Implementations
Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
The type of Self
when its IP-generic parameter is replaced with the
type NewIp
.
Compares and returns the maximum of two values.
Read more
Compares and returns the minimum of two values.
Read more
Restrict a value to a certain interval.
Read more
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
This method returns an ordering between
self
and
other
values if one exists.
Read more
Tests less than (for
self
and
other
) and is used by the
<
operator.
Read more
Tests less than or equal to (for
self
and
other
) and is used by the
<=
operator.
Read more
Tests greater than (for
self
and
other
) and is used by the
>
operator.
Read more
Tests greater than or equal to (for
self
and
other
) and is used by
the
>=
operator.
Read more