#[repr(u8)]pub enum SecondaryHeaderFlag {
NoSecondaryHeader = 0,
SecondaryHeader = 1,
}Variants§
Trait Implementations§
Source§impl BitCount for SecondaryHeaderFlag
impl BitCount for SecondaryHeaderFlag
Source§impl BitsFitIn<u8> for SecondaryHeaderFlag
impl BitsFitIn<u8> for SecondaryHeaderFlag
Source§impl BitsFitIn<u16> for SecondaryHeaderFlag
impl BitsFitIn<u16> for SecondaryHeaderFlag
Source§impl BitsFitIn<u24> for SecondaryHeaderFlag
impl BitsFitIn<u24> for SecondaryHeaderFlag
Source§impl BitsFitIn<u32> for SecondaryHeaderFlag
impl BitsFitIn<u32> for SecondaryHeaderFlag
Source§impl BitsFitIn<u40> for SecondaryHeaderFlag
impl BitsFitIn<u40> for SecondaryHeaderFlag
Source§impl BitsFitIn<u48> for SecondaryHeaderFlag
impl BitsFitIn<u48> for SecondaryHeaderFlag
Source§impl BitsFitIn<u56> for SecondaryHeaderFlag
impl BitsFitIn<u56> for SecondaryHeaderFlag
Source§impl BitsFitIn<u64> for SecondaryHeaderFlag
impl BitsFitIn<u64> for SecondaryHeaderFlag
Source§impl Clone for SecondaryHeaderFlag
impl Clone for SecondaryHeaderFlag
Source§fn clone(&self) -> SecondaryHeaderFlag
fn clone(&self) -> SecondaryHeaderFlag
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 SecondaryHeaderFlag
Source§impl Debug for SecondaryHeaderFlag
impl Debug for SecondaryHeaderFlag
Source§impl Default for SecondaryHeaderFlag
impl Default for SecondaryHeaderFlag
Source§impl<'de> Deserialize<'de> for SecondaryHeaderFlag
impl<'de> Deserialize<'de> for SecondaryHeaderFlag
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 Eq for SecondaryHeaderFlag
Source§impl FieldStorage for SecondaryHeaderFlag
impl FieldStorage for SecondaryHeaderFlag
Source§type StoredType = u8
type StoredType = u8
The type this field stores as
Source§fn inner_raw(self) -> Self::StoredType
fn inner_raw(self) -> Self::StoredType
Get the raw representation of this value
Source§impl From<SecondaryHeaderFlag> for u8
impl From<SecondaryHeaderFlag> for u8
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u16
impl From<SecondaryHeaderFlag> for u16
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u32
impl From<SecondaryHeaderFlag> for u32
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u64
impl From<SecondaryHeaderFlag> for u64
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u128
impl From<SecondaryHeaderFlag> for u128
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u24
impl From<SecondaryHeaderFlag> for u24
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u40
impl From<SecondaryHeaderFlag> for u40
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u48
impl From<SecondaryHeaderFlag> for u48
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl From<SecondaryHeaderFlag> for u56
impl From<SecondaryHeaderFlag> for u56
Source§fn from(value: SecondaryHeaderFlag) -> Self
fn from(value: SecondaryHeaderFlag) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecondaryHeaderFlag
impl PartialEq for SecondaryHeaderFlag
Source§impl PartialOrd for SecondaryHeaderFlag
impl PartialOrd for SecondaryHeaderFlag
Source§impl Serialize for SecondaryHeaderFlag
impl Serialize for SecondaryHeaderFlag
impl StructuralPartialEq for SecondaryHeaderFlag
Source§impl ValidCheck<u8> for SecondaryHeaderFlag
impl ValidCheck<u8> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u16> for SecondaryHeaderFlag
impl ValidCheck<u16> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u24> for SecondaryHeaderFlag
impl ValidCheck<u24> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u32> for SecondaryHeaderFlag
impl ValidCheck<u32> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u40> for SecondaryHeaderFlag
impl ValidCheck<u40> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u48> for SecondaryHeaderFlag
impl ValidCheck<u48> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u56> for SecondaryHeaderFlag
impl ValidCheck<u56> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u64> for SecondaryHeaderFlag
impl ValidCheck<u64> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u128> for SecondaryHeaderFlag
impl ValidCheck<u128> for SecondaryHeaderFlag
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Auto Trait Implementations§
impl Freeze for SecondaryHeaderFlag
impl RefUnwindSafe for SecondaryHeaderFlag
impl Send for SecondaryHeaderFlag
impl Sync for SecondaryHeaderFlag
impl Unpin for SecondaryHeaderFlag
impl UnsafeUnpin for SecondaryHeaderFlag
impl UnwindSafe for SecondaryHeaderFlag
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