pub enum TreeHeadProblem {
Malformed(String),
WrongKey {
signed_by: String,
offered: String,
},
NotVerified,
}Expand description
What went wrong verifying a tree head.
Variants§
Malformed(String)
The signature is not a well-formed sshsig.
WrongKey
The head names a key that is not the one offered.
Fields
NotVerified
The signature does not verify against the key.
Trait Implementations§
Source§impl Clone for TreeHeadProblem
impl Clone for TreeHeadProblem
Source§impl Debug for TreeHeadProblem
impl Debug for TreeHeadProblem
Source§impl Display for TreeHeadProblem
impl Display for TreeHeadProblem
impl Eq for TreeHeadProblem
Source§impl PartialEq for TreeHeadProblem
impl PartialEq for TreeHeadProblem
impl StructuralPartialEq for TreeHeadProblem
Auto Trait Implementations§
impl Freeze for TreeHeadProblem
impl RefUnwindSafe for TreeHeadProblem
impl Send for TreeHeadProblem
impl Sync for TreeHeadProblem
impl Unpin for TreeHeadProblem
impl UnsafeUnpin for TreeHeadProblem
impl UnwindSafe for TreeHeadProblem
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