#[non_exhaustive]pub enum NormCmdType {
Flush,
Eot,
Squelch,
Cc,
RepairAdv,
AckReq,
Application,
Other(u8),
}Expand description
NORM_CMD sub-type (RFC 5740 §4.2.3).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Flush
NORM_CMD(FLUSH) (1).
Eot
NORM_CMD(EOT) (2).
Squelch
NORM_CMD(SQUELCH) (3).
Cc
NORM_CMD(CC) (4).
RepairAdv
NORM_CMD(REPAIR_ADV) (5).
AckReq
NORM_CMD(ACK_REQ) (6).
Application
NORM_CMD(APPLICATION) (7).
Other(u8)
Any other sub-type value.
Implementations§
Trait Implementations§
Source§impl Clone for NormCmdType
impl Clone for NormCmdType
Source§fn clone(&self) -> NormCmdType
fn clone(&self) -> NormCmdType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormCmdType
Source§impl Debug for NormCmdType
impl Debug for NormCmdType
Source§impl Display for NormCmdType
impl Display for NormCmdType
impl Eq for NormCmdType
Source§impl Hash for NormCmdType
impl Hash for NormCmdType
Source§impl PartialEq for NormCmdType
impl PartialEq for NormCmdType
Source§impl Serialize for NormCmdType
Available on crate feature serde only.
impl Serialize for NormCmdType
Available on crate feature
serde only.impl StructuralPartialEq for NormCmdType
Auto Trait Implementations§
impl Freeze for NormCmdType
impl RefUnwindSafe for NormCmdType
impl Send for NormCmdType
impl Sync for NormCmdType
impl Unpin for NormCmdType
impl UnsafeUnpin for NormCmdType
impl UnwindSafe for NormCmdType
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