Enum gfapi_sys::gluster::GlusterError
[−]
[src]
pub enum GlusterError { 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 GlusterError
[src]
Trait Implementations
impl Debug for GlusterError
[src]
impl Display for GlusterError
[src]
impl err for GlusterError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&err>
The lower-level cause of this error, if any. Read more
impl From<NulError> for GlusterError
[src]
fn from(err: NulError) -> GlusterError
Performs the conversion.
impl From<FromUtf8Error> for GlusterError
[src]
fn from(err: FromUtf8Error) -> GlusterError
Performs the conversion.
impl From<IntoStringError> for GlusterError
[src]
fn from(err: IntoStringError) -> GlusterError
Performs the conversion.
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
Performs the conversion.