Enum nippy::protocol::PrimarySource[][src]

#[repr(u32)]pub enum PrimarySource {
    Goes,
    Gps,
    Cdma,
    Gal,
    Pps,
    Irig,
    Wwvb,
    Dcf,
    Hgb,
    Msf,
    Jjy,
    Lorc,
    Tdf,
    Chu,
    Wwv,
    Wwvh,
    Nist,
    Acts,
    Usno,
    Ptb,
    Goog,
    Locl,
    Cesm,
    Rbdm,
    Omeg,
    Dcn,
    Tsp,
    Dts,
    Atom,
    Vlf,
    Opps,
    Free,
    Init,
    Null,
}

A four-octet, left-justified, zero-padded ASCII string assigned to the reference clock.

The authoritative list of Reference Identifiers is maintained by IANA; however, any string beginning with the ASCII character “X” is reserved for unregistered experimentation and development.

Variants

Goes
Gps
Cdma
Gal
Pps
Irig
Wwvb
Dcf
Hgb
Msf
Jjy
Lorc
Tdf
Chu
Wwv
Wwvh
Nist
Acts
Usno
Ptb
Goog
Locl
Cesm
Rbdm
Omeg
Dcn
Tsp
Dts
Atom
Vlf
Opps
Free
Init
Null

Implementations

impl PrimarySource[src]

pub fn bytes(&self) -> [u8; 4][src]

The bytestring representation of the primary source.

Trait Implementations

impl Clone for PrimarySource[src]

impl Copy for PrimarySource[src]

impl Debug for PrimarySource[src]

impl Display for PrimarySource[src]

impl Eq for PrimarySource[src]

impl Hash for PrimarySource[src]

impl PartialEq<PrimarySource> for PrimarySource[src]

impl StructuralEq for PrimarySource[src]

impl StructuralPartialEq for PrimarySource[src]

impl TryFrom<u32> for PrimarySource[src]

type Err = Unrepresentable<u32>

The error type produced by a failed conversion.

Auto Trait Implementations

Blanket Implementations

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

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Scheme: ApproxScheme,
    Dst: ApproxFrom<Src, Scheme>, 
[src]

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

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

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

impl<T, Dst> ConvAsUtil<Dst> for T[src]

impl<T> ConvUtil for T[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> ToString for T where
    T: Display + ?Sized
[src]

impl<Src> TryFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

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<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 
[src]

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

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.

impl<Src> ValueFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 
[src]

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.