Enum nmea0183::ParseResult
source · pub enum ParseResult {
RMC(Option<RMC>),
GGA(Option<GGA>),
GLL(Option<GLL>),
VTG(Option<VTG>),
GSV(Option<GSV>),
GSA(Option<GSA>),
}
Expand description
The NMEA sentence parsing result. Sentences with many null fields or sentences without valid data is also parsed and returned as None. None ParseResult may be interpreted as working receiver but without valid data.
Variants§
RMC(Option<RMC>)
The Recommended Minimum Sentence for any GNSS. Typically most used.
GGA(Option<GGA>)
The Geographic coordinates including altitude, GPS solution quality, DGPS usage information.
GLL(Option<GLL>)
The Geographic latitude ang longitude sentence with time of fix and the receiver state.
VTG(Option<VTG>)
The actual course and speed relative to the ground.
GSV(Option<GSV>)
The satellites in views including the number of SVs in view, the PRN numbers, elevations, azimuths, and SNR values.
GSA(Option<GSA>)
The GPS DOP and active satellites. Provides information about the DOP and the active satellites used for the current fix.
Trait Implementations§
source§impl Clone for ParseResult
impl Clone for ParseResult
source§fn clone(&self) -> ParseResult
fn clone(&self) -> ParseResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseResult
impl Debug for ParseResult
source§impl PartialEq for ParseResult
impl PartialEq for ParseResult
source§fn eq(&self, other: &ParseResult) -> bool
fn eq(&self, other: &ParseResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParseResult
Auto Trait Implementations§
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnwindSafe for ParseResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more