Enum gluster::GlusterError [] [src]

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

Custom error handling for the library

Variants

IoError
FromUtf8Error
ParseError
AddrParseError
ByteOrder
RegexError
NoVolumesPresent

Methods

impl GlusterError

fn to_string(&self) -> String

Convert a GlusterError into a String representation.

Trait Implementations

impl From<Error> for GlusterError

fn from(err: Error) -> GlusterError

impl From<FromUtf8Error> for GlusterError

fn from(err: FromUtf8Error) -> GlusterError

impl From<ParseError> for GlusterError

fn from(err: ParseError) -> GlusterError

impl From<AddrParseError> for GlusterError

fn from(_: AddrParseError) -> GlusterError

impl From<Error> for GlusterError

fn from(err: Error) -> GlusterError

impl From<Error> for GlusterError

fn from(err: Error) -> GlusterError

Derived Implementations

impl Debug for GlusterError

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