#[non_exhaustive]pub enum LctExtType {
Nop,
Auth,
Time,
Other(u8),
}Expand description
A known LCT Header Extension Type (RFC 5651 §5.2.1 / §9.2).
Covers the three base LCT-defined HET values; protocol-instantiation HETs
(EXT_FTI 64, EXT_FDT 192, EXT_CENC 193, …) live in their own modules
and fall under LctExtType::Other here.
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.
Nop
EXT_NOP (HET 0) — content ignored by receivers.
Auth
EXT_AUTH (HET 1) — packet authentication; format out-of-band.
Time
EXT_TIME (HET 2) — timing info (SCT/ERT/SLC).
Other(u8)
Any other HET value (protocol-instantiation or unassigned).
Implementations§
Trait Implementations§
Source§impl Clone for LctExtType
impl Clone for LctExtType
Source§fn clone(&self) -> LctExtType
fn clone(&self) -> LctExtType
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 LctExtType
Source§impl Debug for LctExtType
impl Debug for LctExtType
Source§impl Display for LctExtType
impl Display for LctExtType
impl Eq for LctExtType
Source§impl Hash for LctExtType
impl Hash for LctExtType
Source§impl PartialEq for LctExtType
impl PartialEq for LctExtType
Source§impl Serialize for LctExtType
Available on crate feature serde only.
impl Serialize for LctExtType
Available on crate feature
serde only.impl StructuralPartialEq for LctExtType
Auto Trait Implementations§
impl Freeze for LctExtType
impl RefUnwindSafe for LctExtType
impl Send for LctExtType
impl Sync for LctExtType
impl Unpin for LctExtType
impl UnsafeUnpin for LctExtType
impl UnwindSafe for LctExtType
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