[][src]Enum nmea0183::Mode

pub enum Mode {
    Autonomous,
    Differential,
    Estimated,
    Manual,
    Simulator,
    NotValid,
}

Receiver mode of operation.

Variants

Autonomous

Autonomous mode without any external correction.

Differential

Differential correction used.

Estimated

Estimated position from previous data and movement model.

Manual

Set by operator.

Simulator

Simulation mode.

NotValid

Completely invalid state. Position data if present could not be used.

Methods

impl Mode[src]

pub fn is_valid(&self) -> bool[src]

Position data shoud be valid if true

Trait Implementations

impl Debug for Mode[src]

impl PartialEq<Mode> for Mode[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

Auto Trait Implementations

impl Unpin for Mode

impl Send for Mode

impl Sync for Mode

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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