pub struct TcpKeepIdle;Expand description
The time (in seconds) the connection needs to remain idle before TCP starts sending keepalive probes
Trait Implementations
sourceimpl Clone for TcpKeepIdle
impl Clone for TcpKeepIdle
sourcefn clone(&self) -> TcpKeepIdle
fn clone(&self) -> TcpKeepIdle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TcpKeepIdle
impl Debug for TcpKeepIdle
sourceimpl GetSockOpt for TcpKeepIdle
impl GetSockOpt for TcpKeepIdle
sourceimpl Hash for TcpKeepIdle
impl Hash for TcpKeepIdle
sourceimpl PartialEq<TcpKeepIdle> for TcpKeepIdle
impl PartialEq<TcpKeepIdle> for TcpKeepIdle
sourceimpl SetSockOpt for TcpKeepIdle
impl SetSockOpt for TcpKeepIdle
impl Copy for TcpKeepIdle
impl Eq for TcpKeepIdle
impl StructuralEq for TcpKeepIdle
impl StructuralPartialEq for TcpKeepIdle
Auto Trait Implementations
impl RefUnwindSafe for TcpKeepIdle
impl Send for TcpKeepIdle
impl Sync for TcpKeepIdle
impl Unpin for TcpKeepIdle
impl UnwindSafe for TcpKeepIdle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more