Skip to main content

OcspEnvelopeError

Enum OcspEnvelopeError 

Source
pub enum OcspEnvelopeError<E, KP, DP, N, D, G> {
    Access(AccessError<E, N>),
    Index {
        index: usize,
    },
    InputMismatch {
        node: N,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
    Identity(OcspReferenceError<E, KP, N, D, G>),
    Digest(Error<E, ReferenceDigestError<DP>, N, D, G>),
}
Expand description

Input/source and execution failures never become an OCSP identity mismatch.

Variants§

§

Access(AccessError<E, N>)

Current original XML/source query refused.

§

Index

No original reference exists at this ordinal.

Fields

§index: usize

Requested ordinal, not a physical document offset.

§

InputMismatch

The supplied envelope does not contain this receipt’s exact basic response under the known basic-response syntax. Caller input association failed; the original document is not thereby declared malformed.

Fields

§node: N

Original reference node whose input pair was supplied incorrectly.

§

Resource

Current relation comparison was not admitted before scanning.

Fields

§node: N

Original reference node; no invented binary offset.

§cause: MemoryError

Exact admission cause.

§

Identity(OcspReferenceError<E, KP, N, D, G>)

Existing original identifier/source/provider cause.

§

Digest(Error<E, ReferenceDigestError<DP>, N, D, G>)

Existing original whole-response digest/source/provider cause.

Trait Implementations§

Source§

impl<E: Debug, KP: Debug, DP: Debug, N: Debug, D: Debug, G: Debug> Debug for OcspEnvelopeError<E, KP, DP, 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, KP, DP, N, D, G> !Freeze for OcspEnvelopeError<E, KP, DP, N, D, G>

§

impl<E, KP, DP, N, D, G> Forget for OcspEnvelopeError<E, KP, DP, N, D, G>

§

impl<E, KP, DP, N, D, G> RefUnwindSafe for OcspEnvelopeError<E, KP, DP, N, D, G>

§

impl<E, KP, DP, N, D, G> Send for OcspEnvelopeError<E, KP, DP, N, D, G>
where AccessError<E, N>: Send, N: Send, OcspReferenceError<E, KP, N, D, G>: Send, Error<E, ReferenceDigestError<DP>, N, D, G>: Send,

§

impl<E, KP, DP, N, D, G> Sync for OcspEnvelopeError<E, KP, DP, N, D, G>
where AccessError<E, N>: Sync, N: Sync, OcspReferenceError<E, KP, N, D, G>: Sync, Error<E, ReferenceDigestError<DP>, N, D, G>: Sync,

§

impl<E, KP, DP, N, D, G> Unpin for OcspEnvelopeError<E, KP, DP, N, D, G>
where AccessError<E, N>: Unpin, N: Unpin, OcspReferenceError<E, KP, N, D, G>: Unpin, Error<E, ReferenceDigestError<DP>, N, D, G>: Unpin,

§

impl<E, KP, DP, N, D, G> UnsafeUnpin for OcspEnvelopeError<E, KP, DP, N, D, G>

§

impl<E, KP, DP, N, D, G> UnwindSafe for OcspEnvelopeError<E, KP, DP, 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.