Enum safe_core::CoreError [] [src]

pub enum CoreError {
    EncodeDecodeError(SerialisationError),
    AsymmetricDecipherFailure,
    SymmetricDecipherFailure,
    ReceivedUnexpectedData,
    ReceivedUnexpectedEvent,
    VersionCacheMiss,
    RootDirectoryExists,
    RandomDataGenerationFailure,
    OperationForbidden,
    Unexpected(String),
    RoutingError(RoutingError),
    RoutingInterfaceError(InterfaceError),
    RoutingClientError(ClientError),
    UnsupportedSaltSizeForPwHash,
    UnsuccessfulPwHash,
    OperationAborted,
    MpidMessagingError(Error),
    SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>),
    RequestTimeout,
}

Client Errors

Variants

Could not Serialise or Deserialise

Asymmetric Key Decryption Failed

Symmetric Key Decryption Failed

Received unexpected data

Received unexpected event

No such data found in local version cache

Cannot overwrite a root directory if it already exists

Unable to obtain generator for random data

Forbidden operation

Unexpected - Probably a Logic error

Routing Error

Interface Error

Routing Client Error

Unable to pack into or operate with size of Salt

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

Blocking operation was cancelled

MpidMessaging Error

Error while self-encrypting data

The request has timed out

Trait Implementations

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

Performs the conversion.

impl From<String> for CoreError
[src]

Performs the conversion.

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

Performs the conversion.

impl From<SerialisationError> for CoreError
[src]

Performs the conversion.

impl From<RoutingError> for CoreError
[src]

Performs the conversion.

impl From<InterfaceError> for CoreError
[src]

Performs the conversion.

impl From<ClientError> for CoreError
[src]

Performs the conversion.

impl From<RecvError> for CoreError
[src]

Performs the conversion.

impl From<Error> for CoreError
[src]

Performs the conversion.

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

Performs the conversion.

impl Debug for CoreError
[src]

Formats the value using the given formatter.

impl Display for CoreError
[src]

Formats the value using the given formatter. Read more

impl Error for CoreError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more