pub enum JujuError {
AddrParseError(AddrParseError),
FromUtf8Error(FromUtf8Error),
IoError(Error),
ParseIntError(ParseIntError),
RusqliteError(Error),
SerdeError(Error),
VarError(VarError),
}Variants§
AddrParseError(AddrParseError)
FromUtf8Error(FromUtf8Error)
IoError(Error)
ParseIntError(ParseIntError)
RusqliteError(Error)
SerdeError(Error)
VarError(VarError)
Implementations§
Trait Implementations§
Source§impl Error for JujuError
impl Error for JujuError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<AddrParseError> for JujuError
impl From<AddrParseError> for JujuError
Source§fn from(err: AddrParseError) -> JujuError
fn from(err: AddrParseError) -> JujuError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for JujuError
impl From<FromUtf8Error> for JujuError
Source§fn from(err: FromUtf8Error) -> JujuError
fn from(err: FromUtf8Error) -> JujuError
Converts to this type from the input type.
Source§impl From<ParseIntError> for JujuError
impl From<ParseIntError> for JujuError
Source§fn from(err: ParseIntError) -> JujuError
fn from(err: ParseIntError) -> JujuError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JujuError
impl !RefUnwindSafe for JujuError
impl Send for JujuError
impl Sync for JujuError
impl Unpin for JujuError
impl !UnwindSafe for JujuError
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