[][src]Struct novatel_oem6_api::RxStatusEventLog

pub struct RxStatusEventLog {
    pub recv_status: ReceiverStatusFlags,
    pub time_status: u8,
    pub week: u16,
    pub ms: i32,
    pub word: u32,
    pub bit: u32,
    pub event: u32,
    pub description: String,
}
[]

Event/error log message

Fields

recv_status: ReceiverStatusFlags
[]

Current status of receiver

time_status: u8
[]

Validity of the time information

week: u16
[]

GPS reference week

ms: i32
[]

Milliseconds into GPS reference week

word: u32
[]

Status word which generated the event

bit: u32
[]

Location of the bit in the status word

event: u32
[]

Event type

description: String
[]

Text description of event/error

Methods

impl RxStatusEventLog[src][]

pub fn new(
    recv_status: ReceiverStatusFlags,
    time_status: u8,
    week: u16,
    ms: i32,
    raw: &[u8]
) -> Option<Self>
[src][]

Convert a raw data buffer into a useable struct

Trait Implementations

impl Default for RxStatusEventLog[src][+]

impl Clone for RxStatusEventLog[src][+]

impl PartialEq<RxStatusEventLog> for RxStatusEventLog[src][+]

impl Debug for RxStatusEventLog[src][+]

Auto Trait Implementations

impl Send for RxStatusEventLog

impl Unpin for RxStatusEventLog

impl Sync for RxStatusEventLog

impl UnwindSafe for RxStatusEventLog

impl RefUnwindSafe for RxStatusEventLog

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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