#[repr(C)]pub struct tcp_keepalive {
pub onoff: ULONG,
pub keepalivetime: ULONG,
pub keepaliveinterval: ULONG,
}
Fields
onoff: ULONG
keepalivetime: ULONG
keepaliveinterval: ULONG
Trait Implementations
sourceimpl Clone for tcp_keepalive
impl Clone for tcp_keepalive
sourcefn clone(&self) -> tcp_keepalive
fn clone(&self) -> tcp_keepalive
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
impl Copy for tcp_keepalive
Auto Trait Implementations
impl RefUnwindSafe for tcp_keepalive
impl Send for tcp_keepalive
impl Sync for tcp_keepalive
impl Unpin for tcp_keepalive
impl UnwindSafe for tcp_keepalive
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