pub enum TieProofError {
BadSignature,
OtherIdentity,
Credential(CredentialError),
}Expand description
Why a TieProof does not prove its user.
Variants§
BadSignature
The key it names did not sign this message: made for another server, nonce, identity or account, or not signed at all.
OtherIdentity
A device credential of another identity than the one to tie.
Credential(CredentialError)
The device credential does not hold.
Trait Implementations§
Source§impl Clone for TieProofError
impl Clone for TieProofError
impl Copy for TieProofError
Source§impl Debug for TieProofError
impl Debug for TieProofError
Source§impl Display for TieProofError
impl Display for TieProofError
impl Eq for TieProofError
Source§impl Error for TieProofError
impl Error for TieProofError
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 From<CredentialError> for TieProofError
impl From<CredentialError> for TieProofError
Source§fn from(source: CredentialError) -> Self
fn from(source: CredentialError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TieProofError
impl PartialEq for TieProofError
impl StructuralPartialEq for TieProofError
Auto Trait Implementations§
impl Freeze for TieProofError
impl RefUnwindSafe for TieProofError
impl Send for TieProofError
impl Sync for TieProofError
impl Unpin for TieProofError
impl UnsafeUnpin for TieProofError
impl UnwindSafe for TieProofError
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