Enum blkid::BlkidError
[−]
[src]
pub enum BlkidError { FromUtf8Error(FromUtf8Error), NulError(NulError), Error(String), IoError(Error), IntoStringError(IntoStringError), }
Custom error handling for the library
Variants
FromUtf8Error(FromUtf8Error)
NulError(NulError)
Error(String)
IoError(Error)
IntoStringError(IntoStringError)
Methods
impl BlkidError
[src]
Trait Implementations
impl Debug for BlkidError
[src]
impl Display for BlkidError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl err for BlkidError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&err>
[src]
The lower-level cause of this error, if any. Read more
impl From<NulError> for BlkidError
[src]
fn from(err: NulError) -> BlkidError
[src]
Performs the conversion.
impl From<FromUtf8Error> for BlkidError
[src]
fn from(err: FromUtf8Error) -> BlkidError
[src]
Performs the conversion.
impl From<IntoStringError> for BlkidError
[src]
fn from(err: IntoStringError) -> BlkidError
[src]
Performs the conversion.
impl From<Error> for BlkidError
[src]
fn from(err: Error) -> BlkidError
[src]
Performs the conversion.