pub enum KeepaliveOption {
SoKeepalive,
Idle,
Interval,
Count,
}Expand description
Socket option selected by certification.
Variants§
SoKeepalive
Boolean SO_KEEPALIVE enablement.
Idle
Platform idle-time option.
Interval
Platform probe-interval option.
Count
Platform probe-count option.
Trait Implementations§
Source§impl Clone for KeepaliveOption
impl Clone for KeepaliveOption
Source§fn clone(&self) -> KeepaliveOption
fn clone(&self) -> KeepaliveOption
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 KeepaliveOption
Source§impl Debug for KeepaliveOption
impl Debug for KeepaliveOption
impl Eq for KeepaliveOption
Source§impl PartialEq for KeepaliveOption
impl PartialEq for KeepaliveOption
impl StructuralPartialEq for KeepaliveOption
Auto Trait Implementations§
impl Freeze for KeepaliveOption
impl RefUnwindSafe for KeepaliveOption
impl Send for KeepaliveOption
impl Sync for KeepaliveOption
impl Unpin for KeepaliveOption
impl UnsafeUnpin for KeepaliveOption
impl UnwindSafe for KeepaliveOption
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