[−][src]Enum rsntp::LeapIndicator
Leap indicator
Indicator of an impending leap second to be inserted/deleted in the last minute of the current day.
The warning is set before 23:59 on the day of insertion and reset after 00:00 on the following day. This causes the number of seconds (rollover interval) in the day of insertion to be increased or decreased by one.
Variants
No warning, i.e. no leap second
The last minute of the day has 61 seconds
The last minute of the day has 59 seconds
Alarm condition, the clock is not synchronized
Trait Implementations
impl Clone for LeapIndicator
[src]
fn clone(&self) -> LeapIndicator
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LeapIndicator
[src]
impl Debug for LeapIndicator
[src]
impl Eq for LeapIndicator
[src]
impl Hash for LeapIndicator
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<LeapIndicator> for LeapIndicator
[src]
fn eq(&self, other: &LeapIndicator) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for LeapIndicator
[src]
impl StructuralPartialEq for LeapIndicator
[src]
Auto Trait Implementations
impl RefUnwindSafe for LeapIndicator
[src]
impl Send for LeapIndicator
[src]
impl Sync for LeapIndicator
[src]
impl Unpin for LeapIndicator
[src]
impl UnwindSafe for LeapIndicator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,