Enum nmea::SentenceType

source ·
pub enum SentenceType {
Show 111 variants AAM, ABK, ACA, ACK, ACS, AIR, ALM, ALR, APA, APB, ASD, BEC, BOD, BWC, BWR, BWW, CUR, DBK, DBS, DBT, DCN, DPT, DSC, DSE, DSI, DSR, DTM, FSI, GBS, GGA, GLC, GLL, GMP, GNS, GRS, GSA, GST, GSV, GTD, GXA, HDG, HDM, HDT, HFB, HMR, HMS, HSC, HWBIAS, HTC, HTD, ITS, LCD, LRF, LRI, LR1, LR2, LR3, MDA, MLA, MSK, MSS, MWD, MTW, MWV, OLN, OSD, ROO, RLM, RMA, RMB, RMC, RMZ, ROT, RPM, RSA, RSD, RTE, SFI, SSD, STN, TDS, TFI, TLB, TLL, TPC, TPR, TPT, TRF, TTM, TUT, TXT, VBW, VDM, VDO, VDR, VHW, VLW, VPW, VSD, VTG, VWR, WCV, WNC, WPL, XDR, XTE, XTR, ZDA, ZDL, ZFO, ZTG,
}
Expand description

Variants§

§

AAM

AAM - Waypoint Arrival Alarm

https://gpsd.gitlab.io/gpsd/NMEA.html#_aam_waypoint_arrival_alarm

Type: Waypoints and tacks

§

ABK

§

ACA

§

ACK

§

ACS

§

AIR

§

ALM

§

ALR

§

APA

APA - Autopilot Sentence “A”

https://gpsd.gitlab.io/gpsd/NMEA.html#_apa_autopilot_sentence_a

Type: Autopilot

§

APB

APB - Autopilot Sentence “B”

https://gpsd.gitlab.io/gpsd/NMEA.html#_apb_autopilot_sentence_b

Type: Autopilot

§

ASD

Type: Autopilot

§

BEC

Type: Waypoints and tacks

§

BOD

BOD - Bearing - Waypoint to Waypoint

https://gpsd.gitlab.io/gpsd/NMEA.html#_bod_bearing_waypoint_to_waypoint

Type: Waypoints and tacks

§

BWC

BWC - Bearing & Distance to Waypoint - Great Circle

https://gpsd.gitlab.io/gpsd/NMEA.html#_bwc_bearing_distance_to_waypoint_great_circle

Type: Waypoints and tacks

§

BWR

BWR - Bearing and Distance to Waypoint - Rhumb Line

https://gpsd.gitlab.io/gpsd/NMEA.html#_bwr_bearing_and_distance_to_waypoint_rhumb_line

Type: Waypoints and tacks

§

BWW

BWW - Bearing - Waypoint to Waypoint

https://gpsd.gitlab.io/gpsd/NMEA.html#_bww_bearing_waypoint_to_waypoint

Type: Waypoints and tacks

§

CUR

§

DBK

§

DBS

§

DBT

§

DCN

§

DPT

§

DSC

§

DSE

§

DSI

§

DSR

Type: Radar

§

DTM

§

FSI

§

GBS

§

GGA

GGA - Global Positioning System Fix Data

https://gpsd.gitlab.io/gpsd/NMEA.html#_gga_global_positioning_system_fix_data

Type: GPS

§

GLC

GLC - Geographic Position, Loran-C

https://gpsd.gitlab.io/gpsd/NMEA.html#_glc_geographic_position_loran_c

Type: Loran-C

§

GLL

GLL - Geographic Position - Latitude/Longitude

https://gpsd.gitlab.io/gpsd/NMEA.html#_gll_geographic_position_latitudelongitude

Type: Position

§

GMP

§

GNS

§

GRS

§

GSA

§

GST

GST - GPS Pseudorange Noise Statistics

https://gpsd.gitlab.io/gpsd/NMEA.html#_gst_gps_pseudorange_noise_statistics

§

GSV

§

GTD

GTD - Geographic Location in Time Differences

https://gpsd.gitlab.io/gpsd/NMEA.html#_gtd_geographic_location_in_time_differences

Type: Date and Time

§

GXA

GXA - TRANSIT Position - Latitude/Longitude

https://gpsd.gitlab.io/gpsd/NMEA.html#_gxa_transit_position_latitudelongitude

Type: Transit

§

HDG

HDG - Heading - Deviation & Variation

https://gpsd.gitlab.io/gpsd/NMEA.html#_hdg_heading_deviation_variation

Type: Course

§

HDM

§

HDT

§

HFB

§

HMR

§

HMS

§

HSC

HSC - Heading Steering Command

https://gpsd.gitlab.io/gpsd/NMEA.html#_hsc_heading_steering_command

Type: Course

§

HWBIAS

§

HTC

§

HTD

§

ITS

§

LCD

§

LRF

§

LRI

§

LR1

§

LR2

§

LR3

§

MDA

§

MLA

§

MSK

MSK - Control for a Beacon Receiver

https://gpsd.gitlab.io/gpsd/NMEA.html#_msk_control_for_a_beacon_receiver

Type: D-GPS

§

MSS

§

MWD

§

MTW

MTW - Mean Temperature of Water

https://gpsd.gitlab.io/gpsd/NMEA.html#_mtw_mean_temperature_of_water

Type: Temperature

§

MWV

§

OLN

§

OSD

§

ROO

R00 - Waypoints in active route

https://gpsd.gitlab.io/gpsd/NMEA.html#_r00_waypoints_in_active_route

Type: Waypoints and tacks

§

RLM

§

RMA

RMA - Recommended Minimum Navigation Information

https://gpsd.gitlab.io/gpsd/NMEA.html#_rma_recommended_minimum_navigation_information

Type: Navigation

§

RMB

RMB - Recommended Minimum Navigation Information

https://gpsd.gitlab.io/gpsd/NMEA.html#_rmb_recommended_minimum_navigation_information

Type: Navigation

§

RMC

RMC - Recommended Minimum Navigation Information

https://gpsd.gitlab.io/gpsd/NMEA.html#_rmc_recommended_minimum_navigation_information

Type: Navigation

§

RMZ

PGRMZ - Garmin Altitude

https://gpsd.gitlab.io/gpsd/NMEA.html#_pgrmz_garmin_altitude

Type: Vendor extensions

§

ROT

§

RPM

§

RSA

§

RSD

§

RTE

RTE - Routes

https://gpsd.gitlab.io/gpsd/NMEA.html#_rte_routes

Type: Waypoints and tacks

§

SFI

SFI - Scanning Frequency Information

https://gpsd.gitlab.io/gpsd/NMEA.html#_sfi_scanning_frequency_information

Type: Radio

§

SSD

§

STN

§

TDS

§

TFI

§

TLB

§

TLL

TLL - Target Latitude and Longitude

https://gpsd.gitlab.io/gpsd/NMEA.html#_tll_target_latitude_and_longitude Type: Radio

§

TPC

§

TPR

§

TPT

§

TRF

§

TTM

§

TUT

§

TXT

§

VBW

§

VDM

§

VDO

§

VDR

§

VHW

§

VLW

VLW - Distance Traveled through Water

https://gpsd.gitlab.io/gpsd/NMEA.html#_vlw_distance_traveled_through_water

Type: Speed

§

VPW

VPW - Speed - Measured Parallel to Wind

https://gpsd.gitlab.io/gpsd/NMEA.html#_vpw_speed_measured_parallel_to_wind

Type: Wind

§

VSD

§

VTG

VTG - Track made good and Ground speed

https://gpsd.gitlab.io/gpsd/NMEA.html#_vtg_track_made_good_and_ground_speed

Type: Waypoints and tacks

§

VWR

VWR - Relative Wind Speed and Angle

https://gpsd.gitlab.io/gpsd/NMEA.html#_vwr_relative_wind_speed_and_angle

Type: Wind

§

WCV

WCV - Waypoint Closure Velocity

https://gpsd.gitlab.io/gpsd/NMEA.html#_wcv_waypoint_closure_velocity

Type: Waypoints and tacks

§

WNC

WNC - Distance - Waypoint to Waypoint

https://gpsd.gitlab.io/gpsd/NMEA.html#_wnc_distance_waypoint_to_waypoint

Type: Waypoints and tacks

§

WPL

WPL - Waypoint Location

https://gpsd.gitlab.io/gpsd/NMEA.html#_wpl_waypoint_location

Type: Waypoints and tacks

§

XDR

XDR - Transducer Measurement

https://gpsd.gitlab.io/gpsd/NMEA.html#_xdr_transducer_measurement

Type: Waypoints and tacks

§

XTE

XTE - Cross-Track Error, Measured

https://gpsd.gitlab.io/gpsd/NMEA.html#_xte_cross_track_error_measured

Type: Waypoints and tacks

§

XTR

XTR - Cross Track Error - Dead Reckoning

https://gpsd.gitlab.io/gpsd/NMEA.html#_xtr_cross_track_error_dead_reckoning

Type: Waypoints and tacks

§

ZDA

ZDA - Time & Date - UTC, day, month, year and local time zone

https://gpsd.gitlab.io/gpsd/NMEA.html#_zda_time_date_utc_day_month_year_and_local_time_zone

Type: Date and Time

§

ZDL

§

ZFO

ZFO - UTC & Time from origin Waypoint

https://gpsd.gitlab.io/gpsd/NMEA.html#_zfo_utc_time_from_origin_waypoint

Type: Date and Time

§

ZTG

ZTG - UTC & Time to Destination Waypoint

https://gpsd.gitlab.io/gpsd/NMEA.html#_ztg_utc_time_to_destination_waypoint

Type: Date and Time

Implementations§

source§

impl SentenceType

source

pub const TYPES: [SentenceType; 111] = _

source

pub fn to_mask_value(self) -> u128

source

pub fn as_str(&self) -> &str

Trait Implementations§

source§

impl BitOr<SentenceType> for SentenceMask

§

type Output = SentenceMask

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: SentenceType) -> Self

Performs the | operation. Read more
source§

impl BitOr<SentenceType> for SentenceType

§

type Output = SentenceMask

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
source§

impl Clone for SentenceType

source§

fn clone(&self) -> SentenceType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SentenceType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SentenceType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SentenceType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&ParseResult> for SentenceType

source§

fn from(parse_result: &ParseResult) -> Self

Converts to this type from the input type.
source§

impl Hash for SentenceType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<SentenceType> for SentenceType

source§

fn eq(&self, other: &SentenceType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SentenceType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> TryFrom<&'a str> for SentenceType

§

type Error = Error<'a>

The type returned in the event of a conversion error.
source§

fn try_from(s: &'a str) -> Result<SentenceType, Self::Error>

Performs the conversion.
source§

impl Copy for SentenceType

source§

impl Eq for SentenceType

source§

impl StructuralEq for SentenceType

source§

impl StructuralPartialEq for SentenceType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,