#[repr(C)]pub struct tcp_keepalive {
pub onoff: ULONG,
pub keepalivetime: ULONG,
pub keepaliveinterval: ULONG,
}
Fields§
§onoff: ULONG
§keepalivetime: ULONG
§keepaliveinterval: ULONG
Trait Implementations§
Source§impl Clone for tcp_keepalive
impl Clone for tcp_keepalive
Source§fn clone(&self) -> tcp_keepalive
fn clone(&self) -> tcp_keepalive
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 Default for tcp_keepalive
impl Default for tcp_keepalive
Source§fn default() -> tcp_keepalive
fn default() -> tcp_keepalive
Returns the “default value” for a type. Read more
impl Copy for tcp_keepalive
Auto Trait Implementations§
impl Freeze for tcp_keepalive
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more