pub enum GnssEvent {
None,
NavEpoch(GnssNavEpoch),
SatelliteState(GnssSatelliteState),
SignalState(GnssSignalState),
RfStatus(GnssRfStatus),
InfoText(GnssInfoText),
CommandAck(GnssCommandAck),
RawUbx(GnssRawUbxFrame),
}Variants§
None
SatelliteState(GnssSatelliteState)
SignalState(GnssSignalState)
RfStatus(GnssRfStatus)
InfoText(GnssInfoText)
CommandAck(GnssCommandAck)
RawUbx(GnssRawUbxFrame)
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for GnssEvent
impl<'__de, __Context> BorrowDecode<'__de, __Context> for GnssEvent
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<'de> Deserialize<'de> for GnssEvent
impl<'de> Deserialize<'de> for GnssEvent
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 GnssEvent
Auto Trait Implementations§
impl Freeze for GnssEvent
impl RefUnwindSafe for GnssEvent
impl Send for GnssEvent
impl Sync for GnssEvent
impl Unpin for GnssEvent
impl UnsafeUnpin for GnssEvent
impl UnwindSafe for GnssEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more