pub enum VerificationError<UE, A>{
Upstream(UE),
Parsing {
advisory: A,
error: Error,
},
Check {
advisory: A,
error: Error,
},
}Variants§
Trait Implementations§
source§impl<A, UE> AsDiscovered for VerificationError<UE, A>
impl<A, UE> AsDiscovered for VerificationError<UE, A>
fn as_discovered(&self) -> &DiscoveredAdvisory
source§impl<UE, A> Debug for VerificationError<UE, A>
impl<UE, A> Debug for VerificationError<UE, A>
source§impl<UE, A> Display for VerificationError<UE, A>
impl<UE, A> Display for VerificationError<UE, A>
source§impl<UE, A> Error for VerificationError<UE, A>
impl<UE, A> Error for VerificationError<UE, A>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<UE, A> Urlify for VerificationError<UE, A>
impl<UE, A> Urlify for VerificationError<UE, A>
Auto Trait Implementations§
impl<UE, A> Freeze for VerificationError<UE, A>
impl<UE, A> !RefUnwindSafe for VerificationError<UE, A>
impl<UE, A> Send for VerificationError<UE, A>
impl<UE, A> Sync for VerificationError<UE, A>
impl<UE, A> Unpin for VerificationError<UE, A>
impl<UE, A> !UnwindSafe for VerificationError<UE, A>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.