[−][src]Enum gluster::GlusterError
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]
pub fn new(err: String) -> GlusterError
[src]
Create a new GlusterError with a String message
pub fn to_string(&self) -> String
[src]
Convert a GlusterError into a String representation.
Trait Implementations
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
impl From<FromUtf8Error> for GlusterError
[src]
fn from(err: FromUtf8Error) -> GlusterError
[src]
impl From<ParseError> for GlusterError
[src]
fn from(err: ParseError) -> GlusterError
[src]
impl From<AddrParseError> for GlusterError
[src]
fn from(err: AddrParseError) -> GlusterError
[src]
impl From<ParseIntError> for GlusterError
[src]
fn from(err: ParseIntError) -> GlusterError
[src]
impl From<ParseBoolError> for GlusterError
[src]
fn from(err: ParseBoolError) -> GlusterError
[src]
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
impl From<Error> for GlusterError
[src]
fn from(err: Error) -> GlusterError
[src]
impl Debug for GlusterError
[src]
Auto Trait Implementations
impl Send for GlusterError
impl Sync for GlusterError
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,