pub enum GlusterError {
AddrParseError(AddrParseError),
FromUtf8Error(FromUtf8Error),
IoError(Error),
NoVolumesPresent,
ParseError(ParseError),
ParseBoolErr(ParseBoolError),
ParseIntError(ParseIntError),
RegexError(Error),
SerdeError(Error),
}Expand description
Custom error handling for the library
Variants§
AddrParseError(AddrParseError)
FromUtf8Error(FromUtf8Error)
IoError(Error)
NoVolumesPresent
ParseError(ParseError)
ParseBoolErr(ParseBoolError)
ParseIntError(ParseIntError)
RegexError(Error)
SerdeError(Error)
Implementations§
Source§impl GlusterError
impl GlusterError
Trait Implementations§
Source§impl Debug for GlusterError
impl Debug for GlusterError
Source§impl From<AddrParseError> for GlusterError
impl From<AddrParseError> for GlusterError
Source§fn from(err: AddrParseError) -> GlusterError
fn from(err: AddrParseError) -> GlusterError
Converts to this type from the input type.
Source§impl From<Error> for GlusterError
impl From<Error> for GlusterError
Source§fn from(err: Error) -> GlusterError
fn from(err: Error) -> GlusterError
Converts to this type from the input type.
Source§impl From<Error> for GlusterError
impl From<Error> for GlusterError
Source§fn from(err: Error) -> GlusterError
fn from(err: Error) -> GlusterError
Converts to this type from the input type.
Source§impl From<Error> for GlusterError
impl From<Error> for GlusterError
Source§fn from(err: Error) -> GlusterError
fn from(err: Error) -> GlusterError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for GlusterError
impl From<FromUtf8Error> for GlusterError
Source§fn from(err: FromUtf8Error) -> GlusterError
fn from(err: FromUtf8Error) -> GlusterError
Converts to this type from the input type.
Source§impl From<ParseBoolError> for GlusterError
impl From<ParseBoolError> for GlusterError
Source§fn from(err: ParseBoolError) -> GlusterError
fn from(err: ParseBoolError) -> GlusterError
Converts to this type from the input type.
Source§impl From<ParseError> for GlusterError
impl From<ParseError> for GlusterError
Source§fn from(err: ParseError) -> GlusterError
fn from(err: ParseError) -> GlusterError
Converts to this type from the input type.
Source§impl From<ParseIntError> for GlusterError
impl From<ParseIntError> for GlusterError
Source§fn from(err: ParseIntError) -> GlusterError
fn from(err: ParseIntError) -> GlusterError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GlusterError
impl !RefUnwindSafe for GlusterError
impl Send for GlusterError
impl Sync for GlusterError
impl Unpin for GlusterError
impl !UnwindSafe for GlusterError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more