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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for SocketTimerState
impl PartialEq for SocketTimerState
impl StructuralPartialEq for SocketTimerState
Auto Trait Implementations§
impl Freeze for SocketTimerState
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