Enum linux_stats::SocketTimerState
source · pub enum SocketTimerState {
Inactive,
Active(u64),
}
Expand description
Represents TCP socket’s timer status.
Variants§
Trait Implementations§
source§impl Clone for SocketTimerState
impl Clone for SocketTimerState
source§fn clone(&self) -> SocketTimerState
fn clone(&self) -> SocketTimerState
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 SocketTimerState
impl Debug for SocketTimerState
source§impl PartialEq<SocketTimerState> for SocketTimerState
impl PartialEq<SocketTimerState> for SocketTimerState
source§fn eq(&self, other: &SocketTimerState) -> bool
fn eq(&self, other: &SocketTimerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SocketTimerState
Auto Trait Implementations§
impl RefUnwindSafe for SocketTimerState
impl Send for SocketTimerState
impl Sync for SocketTimerState
impl Unpin for SocketTimerState
impl UnwindSafe for SocketTimerState
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