pub enum Error<E, C, N, D, G> {
UnknownEncoding {
location: Location<N, D, G>,
},
UnsupportedEncoding {
location: Location<N, D, G>,
encoding: PkiEncoding,
},
ReaderCreation {
location: Location<N, D, G>,
cause: Error,
},
Access {
location: Location<N, D, G>,
cause: AccessError<E, N>,
},
Callback {
location: Location<N, D, G>,
cause: C,
},
}Expand description
Refusal preserving both the XML enclosure and the unchanged inner cause.
Variants§
UnknownEncoding
The original Encoding attribute does not identify a specified PKI codec.
UnsupportedEncoding
A specified codec has no decoder in this ASN.1 processing capability. This is unsupported processing, not malformed XML or a digest mismatch.
Fields
§
encoding: PkiEncodingOriginal specified codec.
ReaderCreation
Common Reader construction refused before the inspection visitor.
Fields
Access
XML access, decoding, generation or resource refusal.
Fields
§
cause: AccessError<E, N>Original access/owner cause, including pre-visitor resource errors.
Callback
Scoped ASN.1 inspection/check callback refused.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E, C, N, D, G> !Freeze for Error<E, C, N, D, G>
impl<E, C, N, D, G> RefUnwindSafe for Error<E, C, N, D, G>
impl<E, C, N, D, G> Send for Error<E, C, N, D, G>
impl<E, C, N, D, G> Sync for Error<E, C, N, D, G>
impl<E, C, N, D, G> Unpin for Error<E, C, N, D, G>
impl<E, C, N, D, G> UnsafeUnpin for Error<E, C, N, D, G>
impl<E, C, N, D, G> UnwindSafe for Error<E, C, N, D, G>
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