#[non_exhaustive]pub enum DiscoveryWarning {
CardRecognitionDataMissing,
KeyInformationTemplateMissing,
CardCapabilityInfoMissing,
UnknownLifecycleByte(u8),
GetStatusParseFailed,
Other(String<OTHER_DETAIL_MAX>),
}Expand description
Typed discovery warning — discovery never errors on missing optional data.
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
Other(String<OTHER_DETAIL_MAX>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiscoveryWarning
impl RefUnwindSafe for DiscoveryWarning
impl Send for DiscoveryWarning
impl Sync for DiscoveryWarning
impl Unpin for DiscoveryWarning
impl UnsafeUnpin for DiscoveryWarning
impl UnwindSafe for DiscoveryWarning
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