pub enum Cause {
Encoding(Error),
Pki(Error),
Empty {
offset: u64,
},
Trailing {
offset: u64,
},
}Expand description
Refusal while parsing exactly one retained material value.
Variants§
Encoding(Error)
Original reader/resource error, in decoded-source coordinates.
Pki(Error)
Original PKI schema/resource error, in decoded-source coordinates.
Empty
No ASN.1 value in this material source.
Trailing
Bytes remain after the one specified PKI value.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Cause
impl Forget for Cause
impl RefUnwindSafe for Cause
impl Send for Cause
impl Sync for Cause
impl Unpin for Cause
impl UnsafeUnpin for Cause
impl UnwindSafe for Cause
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