Enum shackle_shell::ShackleError
source · pub enum ShackleError {
IoError(Error),
GitError(Error),
ReadlineError(ReadlineError),
UserReadError,
InvalidDirectory,
InvalidGroup,
}Variants§
IoError(Error)
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)>
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 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 !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