pub enum TrustVerifyError {
TrustFileRead {
path: PathBuf,
source: Error,
},
TrustFileParse {
source: Error,
},
NoOrgRootKey,
NoActiveKeys,
SignatureMismatch,
}Expand description
Stage-typed error so axum handlers map each phase to the right StatusCode.
Variants§
TrustFileRead
TrustFileParse
NoOrgRootKey
NoActiveKeys
SignatureMismatch
No current/previous orgRootKey candidate verified the signature.
Trait Implementations§
Source§impl Debug for TrustVerifyError
impl Debug for TrustVerifyError
Auto Trait Implementations§
impl Freeze for TrustVerifyError
impl !RefUnwindSafe for TrustVerifyError
impl Send for TrustVerifyError
impl Sync for TrustVerifyError
impl Unpin for TrustVerifyError
impl !UnwindSafe for TrustVerifyError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.