pub struct TcpKeepCount;
Available on crate features
socket
and net
only.Expand description
The maximum number of keepalive probes TCP should send before dropping the connection.
Trait Implementations§
source§impl Clone for TcpKeepCount
impl Clone for TcpKeepCount
source§fn clone(&self) -> TcpKeepCount
fn clone(&self) -> TcpKeepCount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TcpKeepCount
impl Debug for TcpKeepCount
source§impl GetSockOpt for TcpKeepCount
impl GetSockOpt for TcpKeepCount
source§impl Hash for TcpKeepCount
impl Hash for TcpKeepCount
source§impl PartialEq<TcpKeepCount> for TcpKeepCount
impl PartialEq<TcpKeepCount> for TcpKeepCount
source§fn eq(&self, other: &TcpKeepCount) -> bool
fn eq(&self, other: &TcpKeepCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.