pub enum OidParseError {
TooShort,
FirstComponentsTooLarge,
ParseIntError,
}
Expand description
An error for OID parsing functions.
Variants§
TooShort
Encoded data length too short
FirstComponentsTooLarge
Signalizes that the first or second component is too large. The first must be within the range 0 to 6 (inclusive). The second component must be less than 40.
ParseIntError
a
Trait Implementations§
Source§impl Clone for OidParseError
impl Clone for OidParseError
Source§fn clone(&self) -> OidParseError
fn clone(&self) -> OidParseError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OidParseError
impl Debug for OidParseError
Source§impl Display for OidParseError
impl Display for OidParseError
Source§impl Error for OidParseError
impl Error for OidParseError
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()
Source§impl PartialEq for OidParseError
impl PartialEq for OidParseError
impl Copy for OidParseError
impl Eq for OidParseError
impl StructuralPartialEq for OidParseError
Auto Trait Implementations§
impl Freeze for OidParseError
impl RefUnwindSafe for OidParseError
impl Send for OidParseError
impl Sync for OidParseError
impl Unpin for OidParseError
impl UnwindSafe for OidParseError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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