pub enum SwitcherError {
Input(String),
NoSibling {
target: Option<String>,
},
Config(String),
Io {
path: PathBuf,
source: Error,
},
LaunchFailed(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for SwitcherError
impl Debug for SwitcherError
Source§impl Display for SwitcherError
impl Display for SwitcherError
Source§impl Error for SwitcherError
impl Error for SwitcherError
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 SwitcherError
impl !RefUnwindSafe for SwitcherError
impl Send for SwitcherError
impl Sync for SwitcherError
impl Unpin for SwitcherError
impl UnsafeUnpin for SwitcherError
impl !UnwindSafe for SwitcherError
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