pub enum WarningCode {
ExpiringSoon,
UnknownFields,
TimestampValidationSkipped,
BiometricsSkipped,
NonStandardCompression,
}Expand description
Types of warnings that can be generated during decoding.
Variants§
ExpiringSoon
The credential will expire soon (within a configurable threshold).
UnknownFields
Unknown fields were found in the Claim 169 data.
This supports forward compatibility - new fields added to the spec
won’t break older decoders. The unknown fields are preserved in
Claim169::unknown_fields.
TimestampValidationSkipped
Timestamp validation was explicitly disabled via options.
BiometricsSkipped
Biometric data parsing was skipped via options.
NonStandardCompression
Non-standard compression was detected during decoding or used during encoding.
The Claim 169 spec mandates zlib compression. This warning indicates that a different compression format (brotli, none) was used.
Implementations§
Trait Implementations§
Source§impl Clone for WarningCode
impl Clone for WarningCode
Source§fn clone(&self) -> WarningCode
fn clone(&self) -> WarningCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WarningCode
impl Debug for WarningCode
Source§impl Display for WarningCode
impl Display for WarningCode
Source§impl PartialEq for WarningCode
impl PartialEq for WarningCode
impl Copy for WarningCode
impl Eq for WarningCode
impl StructuralPartialEq for WarningCode
Auto Trait Implementations§
impl Freeze for WarningCode
impl RefUnwindSafe for WarningCode
impl Send for WarningCode
impl Sync for WarningCode
impl Unpin for WarningCode
impl UnsafeUnpin for WarningCode
impl UnwindSafe for WarningCode
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