[−][src]Enum cheats::ShellError
Variants
This error is returned when a code already exists in the database. This usually happens when you register a code again.
Fields of CodeAlreadyExists
name: &'a str
This error is returned when a code does not exist in the database. This usually happens when you try to unregister a code that does not exist.
Fields of CodeDoesNotExist
name: &'a str
This error is returned when an error occurs in Code.
Fields of CodeError
err: CError<'a>
Trait Implementations
impl<'a> Debug for ShellError<'a>
[src]
impl<'a> Display for ShellError<'a>
[src]
impl<'a> Error for ShellError<'a> where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl<'a> ErrorCompat for ShellError<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ShellError<'a>
impl<'a> Send for ShellError<'a>
impl<'a> Sync for ShellError<'a>
impl<'a> Unpin for ShellError<'a>
impl<'a> UnwindSafe for ShellError<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,