pub enum DeliveryProblem {
Malformed(String),
WrongKey {
signed_by: String,
offered: String,
},
WrongNamespace(String),
NotVerified,
}Expand description
What went wrong verifying a delivery. The variants a receiver distinguishes.
Variants§
Malformed(String)
The signature header was not the base64 of a well-formed sshsig.
WrongKey
The delivery names a key that is not the one offered to check it.
Fields
WrongNamespace(String)
The signature was made under a different namespace — refused before the verify, so a signature for another job is never reported as verifying.
NotVerified
Well formed, right key, right namespace, and it does not check out — the body was altered, or it was signed by a different key.
Trait Implementations§
Source§impl Clone for DeliveryProblem
impl Clone for DeliveryProblem
Source§impl Debug for DeliveryProblem
impl Debug for DeliveryProblem
Source§impl Display for DeliveryProblem
impl Display for DeliveryProblem
impl Eq for DeliveryProblem
Source§impl PartialEq for DeliveryProblem
impl PartialEq for DeliveryProblem
impl StructuralPartialEq for DeliveryProblem
Auto Trait Implementations§
impl Freeze for DeliveryProblem
impl RefUnwindSafe for DeliveryProblem
impl Send for DeliveryProblem
impl Sync for DeliveryProblem
impl Unpin for DeliveryProblem
impl UnsafeUnpin for DeliveryProblem
impl UnwindSafe for DeliveryProblem
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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