pub enum ScancodeError {
Io {
source: Error,
path: PathBuf,
},
OtherIo(Error),
Git(Error),
SerdeYaml {
source: Error,
path: PathBuf,
},
OtherSerdeYaml(Error),
}Expand description
Error while interacting with ScanCode items.
Variants§
Trait Implementations§
Source§impl Debug for ScancodeError
impl Debug for ScancodeError
Source§impl Display for ScancodeError
impl Display for ScancodeError
Source§impl Error for ScancodeError
impl Error for ScancodeError
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<Error> for ScancodeError
impl From<Error> for ScancodeError
Source§impl From<Error> for ScancodeError
impl From<Error> for ScancodeError
Auto Trait Implementations§
impl !RefUnwindSafe for ScancodeError
impl !UnwindSafe for ScancodeError
impl Freeze for ScancodeError
impl Send for ScancodeError
impl Sync for ScancodeError
impl Unpin for ScancodeError
impl UnsafeUnpin for ScancodeError
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