Enum gluster::GlusterError [] [src]

pub enum GlusterError {
    IoError(Error),
    FromUtf8Error(FromUtf8Error),
    ParseError(ParseError),
    AddrParseError(String),
    ParseIntError(ParseIntError),
    ParseBoolErr(ParseBoolError),
    ByteOrder(Error),
    RegexError(Error),
    NoVolumesPresent,
}

Custom error handling for the library

Variants

IoError(Error)FromUtf8Error(FromUtf8Error)ParseError(ParseError)AddrParseError(String)ParseIntError(ParseIntError)ParseBoolErr(ParseBoolError)ByteOrder(Error)RegexError(Error)NoVolumesPresent

Methods

impl GlusterError
[src]

fn to_string(&self) -> String

Convert a GlusterError into a String representation.

Trait Implementations

impl Debug for GlusterError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for GlusterError
[src]

fn from(err: Error) -> GlusterError

Performs the conversion.

impl From<FromUtf8Error> for GlusterError
[src]

fn from(err: FromUtf8Error) -> GlusterError

Performs the conversion.

impl From<ParseError> for GlusterError
[src]

fn from(err: ParseError) -> GlusterError

Performs the conversion.

impl From<AddrParseError> for GlusterError
[src]

fn from(_: AddrParseError) -> GlusterError

Performs the conversion.

impl From<ParseIntError> for GlusterError
[src]

fn from(err: ParseIntError) -> GlusterError

Performs the conversion.

impl From<ParseBoolError> for GlusterError
[src]

fn from(err: ParseBoolError) -> GlusterError

Performs the conversion.

impl From<Error> for GlusterError
[src]

fn from(err: Error) -> GlusterError

Performs the conversion.

impl From<Error> for GlusterError
[src]

fn from(err: Error) -> GlusterError

Performs the conversion.