[][src]Enum safe_app::CoreError

pub enum CoreError {
    EncodeDecodeError(Box<ErrorKind>),
    AsymmetricDecipherFailure,
    SymmetricDecipherFailure,
    ReceivedUnexpectedData,
    ReceivedUnexpectedEvent,
    VersionCacheMiss,
    RootDirectoryExists,
    RandomDataGenerationFailure,
    OperationForbidden,
    Unexpected(String),
    DataError(Error),
    UnsupportedSaltSizeForPwHash,
    UnsuccessfulPwHash,
    OperationAborted,
    SelfEncryption(SelfEncryptionError<SEStorageError>),
    RequestTimeout,
    ConfigError(Error),
    IoError(Error),
    QuicP2p(QuicP2pError),
}

Client Errors

Variants

EncodeDecodeError(Box<ErrorKind>)

Could not Serialise or Deserialise.

AsymmetricDecipherFailure

Asymmetric Key Decryption Failed.

SymmetricDecipherFailure

Symmetric Key Decryption Failed.

ReceivedUnexpectedData

Received unexpected data.

ReceivedUnexpectedEvent

Received unexpected event.

VersionCacheMiss

No such data found in local version cache.

RootDirectoryExists

Cannot overwrite a root directory if it already exists.

RandomDataGenerationFailure

Unable to obtain generator for random data.

OperationForbidden

Forbidden operation.

Unexpected(String)

Unexpected - Probably a Logic error.

DataError(Error)

Error related to the data types.

UnsupportedSaltSizeForPwHash

Unable to pack into or operate with size of Salt.

UnsuccessfulPwHash

Unable to complete computation for password hashing - usually because OS refused to allocate amount of requested memory.

OperationAborted

Blocking operation was cancelled.

Error while self-encrypting data.

RequestTimeout

The request has timed out.

ConfigError(Error)

Configuration file error.

IoError(Error)

Io error.

QuicP2p(QuicP2pError)

QuicP2p error.

Trait Implementations

impl Debug for CoreError[src]

impl Display for CoreError[src]

impl Error for CoreError[src]

impl<'a> From<&'a str> for CoreError[src]

impl From<Box<ErrorKind>> for CoreError[src]

impl From<CoreError> for NfsError[src]

impl From<CoreError> for AppError[src]

impl From<Error> for CoreError[src]

impl From<Error> for CoreError[src]

impl From<Error> for CoreError[src]

impl From<QuicP2pError> for CoreError[src]

impl From<RecvError> for CoreError[src]

impl From<SelfEncryptionError<SEStorageError>> for CoreError[src]

impl<T> From<SendError<T>> for CoreError[src]

impl From<String> for CoreError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsFail for T where
    T: Fail, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,