pub enum AppStateError {
AlreadyInMode(AppMode),
}Expand description
AppStateError
Variants§
Trait Implementations§
Source§impl Debug for AppStateError
impl Debug for AppStateError
Source§impl Display for AppStateError
impl Display for AppStateError
Source§impl Error for AppStateError
impl Error for AppStateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AppStateError> for Error
impl From<AppStateError> for Error
Source§fn from(err: AppStateError) -> Self
fn from(err: AppStateError) -> Self
Converts to this type from the input type.
Source§impl From<AppStateError> for StateError
impl From<AppStateError> for StateError
Source§fn from(source: AppStateError) -> Self
fn from(source: AppStateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppStateError
impl RefUnwindSafe for AppStateError
impl Send for AppStateError
impl Sync for AppStateError
impl Unpin for AppStateError
impl UnwindSafe for AppStateError
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