Skip to main content

OcspReferenceError

Enum OcspReferenceError 

Source
pub enum OcspReferenceError<E, PE, N, D, G> {
    Access(AccessError<E, N>),
    Index {
        index: usize,
    },
    Name(ReferenceNameError<E, N>),
    Key(Error<E, ResponderKeyError<CallbackError<PE>>, N, D, G>),
    Time(ReferenceTimeError<E, N>),
}
Expand description

Exact stage/cause; processing/resource refusal is not identity disagreement.

Variants§

§

Access(AccessError<E, N>)

Original source/generation/current-operation query refused.

§

Index

No reference exists at this ordinal.

Fields

§index: usize

Requested ordinal, not an XML byte offset.

§

Name(ReferenceNameError<E, N>)

Original RFC4514/Name comparison failure.

§

Key(Error<E, ResponderKeyError<CallbackError<PE>>, N, D, G>)

Original DER ByKey or selected digest-provider failure.

§

Time(ReferenceTimeError<E, N>)

Original XML production-time or current comparison failure.

Trait Implementations§

Source§

impl<E: Debug, PE: Debug, N: Debug, D: Debug, G: Debug> Debug for OcspReferenceError<E, PE, N, D, G>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, PE, N, D, G> !Freeze for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Forget for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> RefUnwindSafe for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Send for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Sync for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Unpin for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> UnsafeUnpin for OcspReferenceError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> UnwindSafe for OcspReferenceError<E, PE, N, D, G>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.