#[non_exhaustive]#[repr(u64)]pub enum IdentificationCode {
ProducerString = 1,
Epoch = 2,
}
Expand description
Codes for each record in IDENTIFICATION_BLOCK
.
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.
ProducerString = 1
IDENTIFICATION_CODE_STRING: [...string...]
Epoch = 2
IDENTIFICATION_CODE_EPOCH: [epoch]
Trait Implementations§
Source§impl Debug for IdentificationCode
impl Debug for IdentificationCode
Source§impl PartialEq for IdentificationCode
impl PartialEq for IdentificationCode
Source§impl TryFrom<u64> for IdentificationCode
impl TryFrom<u64> for IdentificationCode
Source§type Error = TryFromPrimitiveError<IdentificationCode>
type Error = TryFromPrimitiveError<IdentificationCode>
The type returned in the event of a conversion error.
impl StructuralPartialEq for IdentificationCode
Auto Trait Implementations§
impl Freeze for IdentificationCode
impl RefUnwindSafe for IdentificationCode
impl Send for IdentificationCode
impl Sync for IdentificationCode
impl Unpin for IdentificationCode
impl UnwindSafe for IdentificationCode
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