pub enum SlateError {
IO(Error),
JSON(Error),
}Variants§
Trait Implementations§
Source§impl Debug for SlateError
impl Debug for SlateError
Source§impl Display for SlateError
impl Display for SlateError
Source§impl Error for SlateError
impl Error for SlateError
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<Error> for SlateError
impl From<Error> for SlateError
Source§fn from(err: Error) -> SlateError
fn from(err: Error) -> SlateError
Converts to this type from the input type.
Source§impl From<Error> for SlateError
impl From<Error> for SlateError
Source§fn from(err: Error) -> SlateError
fn from(err: Error) -> SlateError
Converts to this type from the input type.
Source§impl From<SlateError> for CommandError
impl From<SlateError> for CommandError
Source§fn from(err: SlateError) -> CommandError
fn from(err: SlateError) -> CommandError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlateError
impl !RefUnwindSafe for SlateError
impl Send for SlateError
impl Sync for SlateError
impl Unpin for SlateError
impl !UnwindSafe for SlateError
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