pub enum Frame {
Ubx {
class: u8,
id: u8,
payload: Vec<u8>,
},
Nmea(String),
Rtcm(Vec<u8>),
}Expand description
One whole protocol frame.
Variants§
Ubx
UBX message: class, id, payload.
Fields
Nmea(String)
NMEA sentence without the trailing CR LF ($GNGGA,...*hh).
Rtcm(Vec<u8>)
RTCM3 frame, header to CRC inclusive.
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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