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.
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: NOriginal reference node whose input pair was supplied incorrectly.
Resource
Current relation comparison was not admitted before scanning.
Fields
§
node: NOriginal reference node; no invented binary offset.
§
cause: MemoryErrorExact 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§
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>where
AccessError<E, N>: RefUnwindSafe,
N: RefUnwindSafe,
OcspReferenceError<E, KP, N, D, G>: RefUnwindSafe,
Error<E, ReferenceDigestError<DP>, N, D, G>: RefUnwindSafe,
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>where
AccessError<E, N>: UnsafeUnpin,
N: UnsafeUnpin,
OcspReferenceError<E, KP, N, D, G>: UnsafeUnpin,
Error<E, ReferenceDigestError<DP>, N, D, G>: UnsafeUnpin,
impl<E, KP, DP, N, D, G> UnwindSafe for OcspEnvelopeError<E, KP, DP, N, D, G>where
AccessError<E, N>: UnwindSafe,
N: UnwindSafe,
OcspReferenceError<E, KP, N, D, G>: UnwindSafe,
Error<E, ReferenceDigestError<DP>, N, D, G>: UnwindSafe,
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