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, ConfigError(Error), IoError(Error), }
Client Errors
Variants
EncodeDecodeError(SerialisationError)
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.
RoutingError(RoutingError)
Routing Error.
RoutingInterfaceError(InterfaceError)
Interface Error.
RoutingClientError(ClientError)
Routing Client Error.
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.
MpidMessagingError(Error)
MpidMessaging Error.
SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>)
Error while self-encrypting data.
RequestTimeout
The request has timed out.
ConfigError(Error)
Configuration file error.
IoError(Error)
Io error.
Trait Implementations
impl<'a> From<&'a str> for CoreError
[src]
impl From<String> for CoreError
[src]
impl<T> From<SendError<T>> for CoreError
[src]
impl From<SerialisationError> for CoreError
[src]
fn from(error: SerialisationError) -> CoreError
[src]
Performs the conversion.
impl From<RoutingError> for CoreError
[src]
fn from(error: RoutingError) -> CoreError
[src]
Performs the conversion.
impl From<InterfaceError> for CoreError
[src]
fn from(error: InterfaceError) -> CoreError
[src]
Performs the conversion.
impl From<ClientError> for CoreError
[src]
fn from(error: ClientError) -> CoreError
[src]
Performs the conversion.
impl From<RecvError> for CoreError
[src]
impl From<Error> for CoreError
[src]
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for CoreError
[src]
fn from(error: SelfEncryptionError<SelfEncryptionStorageError>) -> CoreError
[src]
Performs the conversion.
impl From<Error> for CoreError
[src]
impl From<Error> for CoreError
[src]
impl Debug for CoreError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter.
impl Display for CoreError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more