[][src]Enum rsntp::LeapIndicator

pub enum LeapIndicator {
    NoWarning,
    LastMinuteHas61Seconds,
    LastMinuteHas59Seconds,
    AlarmCondition,
}

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

NoWarning

No warning, i.e. no leap second

LastMinuteHas61Seconds

The last minute of the day has 61 seconds

LastMinuteHas59Seconds

The last minute of the day has 59 seconds

AlarmCondition

Alarm condition, the clock is not synchronized

Trait Implementations

impl Clone for LeapIndicator[src]

impl Copy for LeapIndicator[src]

impl Debug for LeapIndicator[src]

impl Eq for LeapIndicator[src]

impl Hash for LeapIndicator[src]

impl PartialEq<LeapIndicator> for LeapIndicator[src]

impl StructuralEq for LeapIndicator[src]

impl StructuralPartialEq for LeapIndicator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.