pub enum CredentialKindError {
Empty,
UnknownTag(u8),
EmptyLysPass,
}Expand description
Why bytes are not a credential record.
Variants§
Empty
No bytes at all.
UnknownTag(u8)
A first byte no record kind claims.
EmptyLysPass
A Lys record tag with nothing after it.
Trait Implementations§
Source§impl Clone for CredentialKindError
impl Clone for CredentialKindError
impl Copy for CredentialKindError
Source§impl Debug for CredentialKindError
impl Debug for CredentialKindError
Source§impl Display for CredentialKindError
impl Display for CredentialKindError
impl Eq for CredentialKindError
Source§impl Error for CredentialKindError
impl Error for CredentialKindError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CredentialKindError
impl PartialEq for CredentialKindError
impl StructuralPartialEq for CredentialKindError
Auto Trait Implementations§
impl Freeze for CredentialKindError
impl RefUnwindSafe for CredentialKindError
impl Send for CredentialKindError
impl Sync for CredentialKindError
impl Unpin for CredentialKindError
impl UnsafeUnpin for CredentialKindError
impl UnwindSafe for CredentialKindError
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