pub enum UserDataBlock<'a> {
ResetAtApplicationLevel {
subcode: ApplicationResetSubcode,
},
FixedDataStructure {
identification_number: IdentificationNumber,
access_number: u8,
status: StatusField,
medium_ad_unit: u16,
counter1: Counter,
counter2: Counter,
},
VariableDataStructure {
fixed_data_header: FixedDataHeader,
variable_data_block: &'a [u8],
},
}
Variants§
ResetAtApplicationLevel
Fields
§
subcode: ApplicationResetSubcode
FixedDataStructure
VariableDataStructure
Trait Implementations§
Source§impl<'a> Debug for UserDataBlock<'a>
impl<'a> Debug for UserDataBlock<'a>
Source§impl<'a> PartialEq for UserDataBlock<'a>
impl<'a> PartialEq for UserDataBlock<'a>
Source§impl<'a> TryFrom<&'a [u8]> for UserDataBlock<'a>
impl<'a> TryFrom<&'a [u8]> for UserDataBlock<'a>
Source§type Error = ApplicationLayerError
type Error = ApplicationLayerError
The type returned in the event of a conversion error.
impl<'a> StructuralPartialEq for UserDataBlock<'a>
Auto Trait Implementations§
impl<'a> Freeze for UserDataBlock<'a>
impl<'a> RefUnwindSafe for UserDataBlock<'a>
impl<'a> Send for UserDataBlock<'a>
impl<'a> Sync for UserDataBlock<'a>
impl<'a> Unpin for UserDataBlock<'a>
impl<'a> UnwindSafe for UserDataBlock<'a>
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