pub enum Message {
}Expand description
GPSD response message types
This enum represents all possible response messages from GPSD. Each variant corresponds to a specific “class” value in the JSON response.
Variants§
Tpv(Tpv)
Time-Position-Velocity report
Gst(Gst)
GPS pseudorange error statistics
Sky(Sky)
Satellite sky view report
Att(Attitude)
Attitude/orientation data
Imu(Imu)
Inertial measurement unit data
Devices(DeviceList)
List of available GPS devices
Device(Device)
Single GPS device information
Watch(Watch)
Current watch settings
Version(Version)
GPSD version information
Rtcm2(Rtcm2)
RTCM2 differential correction data
Rtcm3(Rtcm3)
RTCM3 differential correction data
Error(Error)
Error message from GPSD
Toff(TimeOffset)
Time offset report
Pps(Pps)
Pulse-per-second timing report
Osc(Oscillator)
Oscillator/clock discipline status
Raw(Raw)
Raw GPS receiver data
Poll(Poll)
Poll response with current fixes
Other(String)
Unknown/unsupported message type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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