pub enum NumericKeepaliveOption {
Idle,
Interval,
Count,
}Expand description
Numeric socket options; boolean SO_KEEPALIVE is deliberately absent.
Variants§
Idle
Platform idle-time option.
Interval
Platform probe-interval option.
Count
Platform probe-count option.
Trait Implementations§
Source§impl Clone for NumericKeepaliveOption
impl Clone for NumericKeepaliveOption
Source§fn clone(&self) -> NumericKeepaliveOption
fn clone(&self) -> NumericKeepaliveOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NumericKeepaliveOption
Source§impl Debug for NumericKeepaliveOption
impl Debug for NumericKeepaliveOption
impl Eq for NumericKeepaliveOption
Source§impl PartialEq for NumericKeepaliveOption
impl PartialEq for NumericKeepaliveOption
impl StructuralPartialEq for NumericKeepaliveOption
Auto Trait Implementations§
impl Freeze for NumericKeepaliveOption
impl RefUnwindSafe for NumericKeepaliveOption
impl Send for NumericKeepaliveOption
impl Sync for NumericKeepaliveOption
impl Unpin for NumericKeepaliveOption
impl UnsafeUnpin for NumericKeepaliveOption
impl UnwindSafe for NumericKeepaliveOption
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