Enum libblkid_rs::BlkidErr [−][src]
pub enum BlkidErr {
Null(NulError),
BytesWithNull(FromBytesWithNulError),
IntoString(IntoStringError),
PositiveReturnCode,
InvalidConv,
UTF8(Utf8Error),
FromUTF8(FromUtf8Error),
IO(Error),
Uuid(Error),
Other(String),
LibErr,
}
Expand description
Error representing all errors returned by binding methods
Variants
Null(NulError)
Wraps std::ffi::NulError
Tuple Fields of Null
0: NulError
BytesWithNull(FromBytesWithNulError)
Wraps std::ffi::FromBytesWithNulError
Tuple Fields of BytesWithNull
IntoString(IntoStringError)
Wraps std::ffi::IntoStringError
Tuple Fields of IntoString
A libblkid method returned a positive error code which means nothing
A conversion failed
UTF8(Utf8Error)
UTF8 error
Tuple Fields of UTF8
0: Utf8Error
FromUTF8(FromUtf8Error)
UTF8 error
Tuple Fields of FromUTF8
IO(Error)
IO error
Tuple Fields of IO
0: Error
Uuid(Error)
UUID error
Tuple Fields of Uuid
0: Error
Other(String)
An unspecified error type and an error message providing more information
Tuple Fields of Other
0: String
An error code was returned by libblkid
Trait Implementations
Performs the conversion.
Performs the conversion.