Enum gfapi_sys::gluster::GlusterError
[−]
[src]
pub enum GlusterError {
Error(String),
FromUtf8Error(FromUtf8Error),
IntoStringError(IntoStringError),
IoError(Error),
NulError(NulError),
ParseError(ParseError),
}Custom error handling for the library
Variants
Error(String)FromUtf8Error(FromUtf8Error)IntoStringError(IntoStringError)IoError(Error)NulError(NulError)ParseError(ParseError)
Methods
impl GlusterError[src]
Trait Implementations
impl Debug for GlusterError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for GlusterError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl err for GlusterError[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 GlusterError[src]
fn from(err: NulError) -> GlusterError[src]
Performs the conversion.
impl From<FromUtf8Error> for GlusterError[src]
fn from(err: FromUtf8Error) -> GlusterError[src]
Performs the conversion.
impl From<IntoStringError> for GlusterError[src]
fn from(err: IntoStringError) -> GlusterError[src]
Performs the conversion.
impl From<Error> for GlusterError[src]
fn from(err: Error) -> GlusterError[src]
Performs the conversion.
impl From<ParseError> for GlusterError[src]
fn from(err: ParseError) -> GlusterError[src]
Performs the conversion.