#[non_exhaustive]pub enum WarningKind {
CardRecognitionDataMissing,
KeyInformationTemplateMissing,
CardCapabilityInfoMissing,
UnknownLifecycleByte(u8),
GetStatusParseFailed,
LifecycleNoOp,
InventoryTruncated,
}Expand description
Typed warning kinds (PDD §8). No String codes.
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.
CardRecognitionDataMissing
KeyInformationTemplateMissing
CardCapabilityInfoMissing
UnknownLifecycleByte(u8)
GetStatusParseFailed
LifecycleNoOp
InventoryTruncated
get_card_inventory (§5.12a) reached a CardInventory capacity bound
(MAX_SDS / MAX_APPLETS / MAX_ELFS) or the per-scope page cap
(MAX_STATUS_PAGES) before the card was exhausted; the returned
inventory is a valid prefix, not the full card content.
Trait Implementations§
Source§impl Clone for WarningKind
impl Clone for WarningKind
Source§fn clone(&self) -> WarningKind
fn clone(&self) -> WarningKind
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 moreAuto Trait Implementations§
impl Freeze for WarningKind
impl RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl UnsafeUnpin for WarningKind
impl UnwindSafe for WarningKind
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