Enum objectid::Error
[−]
pub enum Error { Argument, Io, Hex, Hostname, }
Errors that can occur during OID construction and generation.
Variants
Argument
Provided string must be a 12-byte hexadecimal string.
Io
Io error.
Hex
Hex encode or decode error.
Hostname
Can't get hostname.
Trait Implementations
impl Debug for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<FromHexError> for Error
fn from(_discarded_error: FromHexError) -> Error
Performs the conversion.