pub enum Crypt4GHFSError {
Show 17 variants
PathDoesNotExist(PathBuf),
MountError(String),
ForkFailed,
SecretNotFound(PathBuf),
BadConfig(String),
SecretKeyError(String),
BadConfigConnectionUrl,
InvalidChecksumFormat,
NoChecksum,
InvalidScheme(String),
IoError(Error),
ConfigError(Error),
SysLogError(Error),
LogError(SetLoggerError),
FileNotOpened,
Crypt4GHError(String),
LibcError(Error),
}Variants§
PathDoesNotExist(PathBuf)
MountError(String)
ForkFailed
SecretNotFound(PathBuf)
BadConfig(String)
SecretKeyError(String)
BadConfigConnectionUrl
InvalidChecksumFormat
NoChecksum
InvalidScheme(String)
IoError(Error)
ConfigError(Error)
SysLogError(Error)
LogError(SetLoggerError)
FileNotOpened
Crypt4GHError(String)
LibcError(Error)
Implementations§
Source§impl Crypt4GHFSError
impl Crypt4GHFSError
pub fn to_raw_os_error(&self) -> i32
Trait Implementations§
Source§impl Debug for Crypt4GHFSError
impl Debug for Crypt4GHFSError
Source§impl Display for Crypt4GHFSError
impl Display for Crypt4GHFSError
Source§impl Error for Crypt4GHFSError
impl Error for Crypt4GHFSError
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 Crypt4GHFSError
impl From<Errno> for Crypt4GHFSError
Source§impl From<Error> for Crypt4GHFSError
impl From<Error> for Crypt4GHFSError
Source§impl From<Error> for Crypt4GHFSError
impl From<Error> for Crypt4GHFSError
Source§impl From<Error> for Crypt4GHFSError
impl From<Error> for Crypt4GHFSError
Source§impl From<SetLoggerError> for Crypt4GHFSError
impl From<SetLoggerError> for Crypt4GHFSError
Source§fn from(source: SetLoggerError) -> Self
fn from(source: SetLoggerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Crypt4GHFSError
impl !RefUnwindSafe for Crypt4GHFSError
impl Send for Crypt4GHFSError
impl !Sync for Crypt4GHFSError
impl Unpin for Crypt4GHFSError
impl !UnwindSafe for Crypt4GHFSError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more