pub enum MiceMessage {
OffDuty,
EnRoute,
InService,
Returning,
Committed,
Special,
Priority,
Emergency,
}Expand description
Mic-E standard message code.
Per APRS 1.0.1 §10.1, the three message bits (A/B/C) encoded by the “custom” status of destination chars 0-2 select one of 8 standard messages, or the eighth code indicates that a custom status is carried in the comment.
Variants§
OffDuty
M0 — “Off Duty” (111 standard, 000 custom).
EnRoute
M1 — “En Route” (110, 001).
InService
M2 — “In Service” (101, 010).
Returning
M3 — “Returning” (100, 011).
Committed
M4 — “Committed” (011, 100).
Special
M5 — “Special” (010, 101).
Priority
M6 — “Priority” (001, 110).
Emergency
Emergency — (000, 111) always means emergency.
Trait Implementations§
Source§impl Clone for MiceMessage
impl Clone for MiceMessage
Source§fn clone(&self) -> MiceMessage
fn clone(&self) -> MiceMessage
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 MiceMessage
impl Debug for MiceMessage
Source§impl Hash for MiceMessage
impl Hash for MiceMessage
Source§impl PartialEq for MiceMessage
impl PartialEq for MiceMessage
impl Copy for MiceMessage
impl Eq for MiceMessage
impl StructuralPartialEq for MiceMessage
Auto Trait Implementations§
impl Freeze for MiceMessage
impl RefUnwindSafe for MiceMessage
impl Send for MiceMessage
impl Sync for MiceMessage
impl Unpin for MiceMessage
impl UnwindSafe for MiceMessage
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