Struct windows::Win32::Networking::WinSock::tcp_keepalive
#[repr(C)]pub struct tcp_keepalive {
pub onoff: u32,
pub keepalivetime: u32,
pub keepaliveinterval: u32,
}
Fields§
§onoff: u32
§keepalivetime: u32
§keepaliveinterval: u32
Trait Implementations§
§impl Clone for tcp_keepalive
impl Clone for tcp_keepalive
§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 more§impl Debug for tcp_keepalive
impl Debug for tcp_keepalive
§impl Default for tcp_keepalive
impl Default for tcp_keepalive
§impl PartialEq for tcp_keepalive
impl PartialEq for tcp_keepalive
§fn eq(&self, other: &tcp_keepalive) -> bool
fn eq(&self, other: &tcp_keepalive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for tcp_keepalive
impl Eq for tcp_keepalive
impl StructuralPartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)