pub enum KeepaliveField {
IdleSeconds,
IntervalSeconds,
ProbeCount,
}Expand description
Numeric keepalive configuration field.
Variants§
IdleSeconds
Idle seconds before the first probe.
IntervalSeconds
Seconds between probes.
ProbeCount
Probe count before connection failure.
Trait Implementations§
Source§impl Clone for KeepaliveField
impl Clone for KeepaliveField
Source§fn clone(&self) -> KeepaliveField
fn clone(&self) -> KeepaliveField
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 KeepaliveField
Source§impl Debug for KeepaliveField
impl Debug for KeepaliveField
impl Eq for KeepaliveField
Source§impl PartialEq for KeepaliveField
impl PartialEq for KeepaliveField
impl StructuralPartialEq for KeepaliveField
Auto Trait Implementations§
impl Freeze for KeepaliveField
impl RefUnwindSafe for KeepaliveField
impl Send for KeepaliveField
impl Sync for KeepaliveField
impl Unpin for KeepaliveField
impl UnsafeUnpin for KeepaliveField
impl UnwindSafe for KeepaliveField
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