#[repr(u8)]pub enum LeapIndicator {
NoWarning = 0,
AddSecond = 1,
DeleteSecond = 2,
Unsynchronized = 3,
}Expand description
Leap indicator values (2-bit field)
Variants§
NoWarning = 0
No warning
AddSecond = 1
Last minute of the day has 61 seconds
DeleteSecond = 2
Last minute of the day has 59 seconds
Unsynchronized = 3
Clock not synchronized (alarm)
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeapIndicator
impl Debug for LeapIndicator
Source§impl PartialEq for LeapIndicator
impl PartialEq for LeapIndicator
impl Copy for LeapIndicator
impl Eq for LeapIndicator
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 UnwindSafe for LeapIndicator
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)