pub enum GitCryptError {
Git(Error),
Io(Error),
Crypto(String),
Gpg(String),
NotInitialized,
AlreadyInitialized,
KeyNotFound(String),
InvalidKeyFormat,
NotInGitRepo,
Other(String),
}Variants§
Git(Error)
Io(Error)
Crypto(String)
Gpg(String)
NotInitialized
AlreadyInitialized
KeyNotFound(String)
InvalidKeyFormat
NotInGitRepo
Other(String)
Trait Implementations§
Source§impl Debug for GitCryptError
impl Debug for GitCryptError
Source§impl Display for GitCryptError
impl Display for GitCryptError
Source§impl Error for GitCryptError
impl Error for GitCryptError
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 GitCryptError
impl From<Error> for GitCryptError
Auto Trait Implementations§
impl Freeze for GitCryptError
impl !RefUnwindSafe for GitCryptError
impl Send for GitCryptError
impl Sync for GitCryptError
impl Unpin for GitCryptError
impl !UnwindSafe for GitCryptError
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