pub enum SignatureError {
Malformed,
Fact(String),
Issued(String),
Envelope,
GoAhead(String),
Ticket(String),
}Variants§
Malformed
Fact(String)
Issued(String)
The fact’s ISSUE TIME is not signed by the same key, or the fact carries
one half of the stamp without the other. Told apart from Self::Fact
on purpose: the six fields were genuine and the monotonic half was not,
which is a tampering attempt with a different shape and a different
remedy from a wholly forged fact.
Envelope
GoAhead(String)
Ticket(String)
An actor ticket was refused. The string is the OPERATOR’s reason and may
name the ticket’s own fields; see crate::ticket::verify_ticket for why
none of them is a customer’s to read.
Trait Implementations§
Source§impl Debug for SignatureError
impl Debug for SignatureError
Source§impl Display for SignatureError
impl Display for SignatureError
impl Eq for SignatureError
Source§impl Error for SignatureError
impl Error for SignatureError
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 From<SignatureError> for RefreshError
impl From<SignatureError> for RefreshError
Source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SignatureError
impl PartialEq for SignatureError
impl StructuralPartialEq for SignatureError
Auto Trait Implementations§
impl Freeze for SignatureError
impl RefUnwindSafe for SignatureError
impl Send for SignatureError
impl Sync for SignatureError
impl Unpin for SignatureError
impl UnsafeUnpin for SignatureError
impl UnwindSafe for SignatureError
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