pub enum ParsedMessage {
Rss(Rss),
MtStructured(MtStructured),
MtRaw(MtRaw),
Invalid,
}
Expand description
Represents the parsed message.
Variants§
Rss(Rss)
RSS - Received Signal Strength message.
MtStructured(MtStructured)
MT Serial Out Packet Format message.
MtRaw(MtRaw)
MT Raw Data Serial Out Packet Format message.
Invalid
Invalid message.
Trait Implementations§
Source§impl Clone for ParsedMessage
impl Clone for ParsedMessage
Source§fn clone(&self) -> ParsedMessage
fn clone(&self) -> ParsedMessage
Returns a duplicate 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 ParsedMessage
impl Debug for ParsedMessage
Source§impl PartialEq for ParsedMessage
impl PartialEq for ParsedMessage
impl StructuralPartialEq for ParsedMessage
Auto Trait Implementations§
impl Freeze for ParsedMessage
impl RefUnwindSafe for ParsedMessage
impl Send for ParsedMessage
impl Sync for ParsedMessage
impl Unpin for ParsedMessage
impl UnwindSafe for ParsedMessage
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