Enum safe_app::nfs::NfsError [−][src]
pub enum NfsError { CoreError(CoreError), FileExists, FileNotFound, InvalidRange, Unexpected(String), EncodeDecodeError(SerialisationError), SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>), }
NFS Errors
Variants
CoreError(CoreError)
Client Error
FileExists
File already exists with the same name in a directory
FileNotFound
File not found
InvalidRange
Invalid byte range specified
Unexpected(String)
Unexpected error
EncodeDecodeError(SerialisationError)
Unsuccessful Serialisation or Deserialisation
SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>)
Error while self-encrypting/-decrypting data
Trait Implementations
impl Display for NfsError
[src]
impl Display for NfsError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for NfsError
[src]
impl Debug for NfsError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<SerialisationError> for NfsError
[src]
impl From<SerialisationError> for NfsError
fn from(error: SerialisationError) -> NfsError
[src]
fn from(error: SerialisationError) -> NfsError
Performs the conversion.
impl<'a> From<&'a str> for NfsError
[src]
impl<'a> From<&'a str> for NfsError
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for NfsError
[src]
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for NfsError
fn from(error: SelfEncryptionError<SelfEncryptionStorageError>) -> NfsError
[src]
fn from(error: SelfEncryptionError<SelfEncryptionStorageError>) -> NfsError
Performs the conversion.
impl From<CoreError> for NfsError
[src]
impl From<CoreError> for NfsError
impl From<NfsError> for AppError
[src]
impl From<NfsError> for AppError