pub enum OidError {
Length {
expected: usize,
actual: usize,
},
HexLength(usize),
HexCharset,
}Variants§
Trait Implementations§
impl Eq for OidError
Source§impl Error for OidError
impl Error for OidError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for OidError
Auto Trait Implementations§
impl Forget for OidError
impl Freeze for OidError
impl Move for OidError
impl RefUnwindSafe for OidError
impl Send for OidError
impl Sync for OidError
impl Unpin for OidError
impl UnsafeUnpin for OidError
impl UnwindSafe for OidError
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