Struct bcder::decode::ContentError
source · [−]pub struct ContentError { /* private fields */ }
Expand description
An error happened while interpreting BER-encoded data.
Implementations
sourceimpl ContentError
impl ContentError
sourcepub fn from_static(msg: &'static str) -> Self
pub fn from_static(msg: &'static str) -> Self
Creates a content error from a static str.
Trait Implementations
sourceimpl Debug for ContentError
impl Debug for ContentError
sourceimpl Display for ContentError
impl Display for ContentError
sourceimpl From<&'static str> for ContentError
impl From<&'static str> for ContentError
sourceimpl From<DecodeError<Infallible>> for ContentError
impl From<DecodeError<Infallible>> for ContentError
sourcefn from(err: DecodeError<Infallible>) -> Self
fn from(err: DecodeError<Infallible>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ContentError
impl Send for ContentError
impl Sync for ContentError
impl Unpin for ContentError
impl !UnwindSafe for ContentError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more