pub enum UxError {
Usage(String),
WorkspaceIo(Error),
StateInsideWorkspace(PathBuf),
MissingStateHome,
UnsupportedSettingsSchema(u32),
SettingsWorkspaceMismatch {
expected: PathBuf,
actual: PathBuf,
},
SettingsJson(Error),
Io(Error),
}Variants§
Usage(String)
WorkspaceIo(Error)
StateInsideWorkspace(PathBuf)
MissingStateHome
UnsupportedSettingsSchema(u32)
SettingsWorkspaceMismatch
SettingsJson(Error)
Io(Error)
Trait Implementations§
Source§impl Error for UxError
impl Error for UxError
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 !RefUnwindSafe for UxError
impl !UnwindSafe for UxError
impl Freeze for UxError
impl Send for UxError
impl Sync for UxError
impl Unpin for UxError
impl UnsafeUnpin for UxError
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