pub enum ShackleError {
IoError(Error),
NixError(Errno),
GitError(Error),
ReadlineError(ReadlineError),
UserReadError,
InvalidDirectory,
InvalidGroup,
}
Variants§
IoError(Error)
NixError(Errno)
GitError(Error)
ReadlineError(ReadlineError)
UserReadError
InvalidDirectory
InvalidGroup
Trait Implementations§
Source§impl Debug for ShackleError
impl Debug for ShackleError
Source§impl Display for ShackleError
impl Display for ShackleError
Source§impl Error for ShackleError
impl Error for ShackleError
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<Errno> for ShackleError
impl From<Errno> for ShackleError
Source§impl From<Error> for ShackleError
impl From<Error> for ShackleError
Source§impl From<Error> for ShackleError
impl From<Error> for ShackleError
Source§impl From<ReadlineError> for ShackleError
impl From<ReadlineError> for ShackleError
Source§fn from(source: ReadlineError) -> Self
fn from(source: ReadlineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShackleError
impl !RefUnwindSafe for ShackleError
impl Send for ShackleError
impl Sync for ShackleError
impl Unpin for ShackleError
impl !UnwindSafe for ShackleError
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