#[repr(u8)]pub enum LeapIndicator {
NoWarning = 0,
LastMinute61Seconds = 1,
LastMinute59Seconds = 2,
AlarmUnsynchronized = 3,
}Expand description
Leap indicator values per NTPv4.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LeapIndicator
impl Clone for LeapIndicator
Source§fn clone(&self) -> LeapIndicator
fn clone(&self) -> LeapIndicator
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 LeapIndicator
Source§impl Debug for LeapIndicator
impl Debug for LeapIndicator
Source§impl Default for LeapIndicator
impl Default for LeapIndicator
Source§fn default() -> LeapIndicator
fn default() -> LeapIndicator
Returns the “default value” for a type. Read more
impl Eq for LeapIndicator
Source§impl PartialEq for LeapIndicator
impl PartialEq for LeapIndicator
Source§fn eq(&self, other: &LeapIndicator) -> bool
fn eq(&self, other: &LeapIndicator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeapIndicator
Auto Trait Implementations§
impl Freeze for LeapIndicator
impl RefUnwindSafe for LeapIndicator
impl Send for LeapIndicator
impl Sync for LeapIndicator
impl Unpin for LeapIndicator
impl UnsafeUnpin for LeapIndicator
impl UnwindSafe for LeapIndicator
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