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]
impl GlusterError
pub fn new(err: String) -> GlusterError
[src]
pub fn new(err: String) -> GlusterError
Create a new GlusterError with a String message
pub fn to_string(&self) -> String
[src]
pub fn to_string(&self) -> String
Convert a GlusterError into a String representation.
Trait Implementations
impl Debug for GlusterError
[src]
impl Debug for GlusterError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for GlusterError
[src]
impl From<Error> for GlusterError
fn from(err: Error) -> GlusterError
[src]
fn from(err: Error) -> GlusterError
Performs the conversion.
impl From<FromUtf8Error> for GlusterError
[src]
impl From<FromUtf8Error> for GlusterError
fn from(err: FromUtf8Error) -> GlusterError
[src]
fn from(err: FromUtf8Error) -> GlusterError
Performs the conversion.
impl From<ParseError> for GlusterError
[src]
impl From<ParseError> for GlusterError
fn from(err: ParseError) -> GlusterError
[src]
fn from(err: ParseError) -> GlusterError
Performs the conversion.
impl From<AddrParseError> for GlusterError
[src]
impl From<AddrParseError> for GlusterError
fn from(err: AddrParseError) -> GlusterError
[src]
fn from(err: AddrParseError) -> GlusterError
Performs the conversion.
impl From<ParseIntError> for GlusterError
[src]
impl From<ParseIntError> for GlusterError
fn from(err: ParseIntError) -> GlusterError
[src]
fn from(err: ParseIntError) -> GlusterError
Performs the conversion.
impl From<ParseBoolError> for GlusterError
[src]
impl From<ParseBoolError> for GlusterError
fn from(err: ParseBoolError) -> GlusterError
[src]
fn from(err: ParseBoolError) -> GlusterError
Performs the conversion.
impl From<Error> for GlusterError
[src]
impl From<Error> for GlusterError
fn from(err: Error) -> GlusterError
[src]
fn from(err: Error) -> GlusterError
Performs the conversion.
impl From<Error> for GlusterError
[src]
impl From<Error> for GlusterError
fn from(err: Error) -> GlusterError
[src]
fn from(err: Error) -> GlusterError
Performs the conversion.
Auto Trait Implementations
impl Send for GlusterError
impl Send for GlusterError
impl Sync for GlusterError
impl Sync for GlusterError