Enum gluster::GlusterError
[−]
[src]
pub enum GlusterError { AddrParseError(AddrParseError), FromUtf8Error(FromUtf8Error), IoError(Error), NoVolumesPresent, ParseError(ParseError), ParseBoolErr(ParseBoolError), ParseIntError(ParseIntError), RegexError(Error), SerdeError(Error), }
Custom error handling for the library
Variants
AddrParseError(AddrParseError)
FromUtf8Error(FromUtf8Error)
IoError(Error)
NoVolumesPresent
ParseError(ParseError)
ParseBoolErr(ParseBoolError)
ParseIntError(ParseIntError)
RegexError(Error)
SerdeError(Error)
Methods
impl GlusterError
[src]
fn new(err: String) -> GlusterError
[src]
Create a new GlusterError with a String message
fn to_string(&self) -> String
[src]
Convert a GlusterError into a String representation.
Trait Implementations
impl Debug for GlusterError
[src]
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
Performs the conversion.
impl From<FromUtf8Error> for GlusterError
[src]
fn from(err: FromUtf8Error) -> GlusterError
[src]
Performs the conversion.
impl From<ParseError> for GlusterError
[src]
fn from(err: ParseError) -> GlusterError
[src]
Performs the conversion.
impl From<AddrParseError> for GlusterError
[src]
fn from(err: AddrParseError) -> GlusterError
[src]
Performs the conversion.
impl From<ParseIntError> for GlusterError
[src]
fn from(err: ParseIntError) -> GlusterError
[src]
Performs the conversion.
impl From<ParseBoolError> for GlusterError
[src]
fn from(err: ParseBoolError) -> GlusterError
[src]
Performs the conversion.
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
Performs the conversion.
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
Performs the conversion.