pub enum ViewSwitchError {
MainFileRead {
path: PathBuf,
source: Error,
},
MainFileWrite {
path: PathBuf,
source: Error,
},
DirectoryRead {
path: PathBuf,
source: Error,
},
MessageEnumNotFound,
DampenAppMacroNotFound,
}Expand description
Error type for view switching operations
Variants§
Trait Implementations§
Source§impl Debug for ViewSwitchError
impl Debug for ViewSwitchError
Source§impl Display for ViewSwitchError
impl Display for ViewSwitchError
Source§impl Error for ViewSwitchError
impl Error for ViewSwitchError
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()
Auto Trait Implementations§
impl Freeze for ViewSwitchError
impl !RefUnwindSafe for ViewSwitchError
impl Send for ViewSwitchError
impl Sync for ViewSwitchError
impl Unpin for ViewSwitchError
impl !UnwindSafe for ViewSwitchError
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