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.
AsymmetricDecipherFailureAsymmetric Key Decryption Failed.
SymmetricDecipherFailureSymmetric Key Decryption Failed.
ReceivedUnexpectedDataReceived unexpected data.
ReceivedUnexpectedEventReceived unexpected event.
VersionCacheMissNo such data found in local version cache.
RootDirectoryExistsCannot overwrite a root directory if it already exists.
RandomDataGenerationFailureUnable to obtain generator for random data.
OperationForbiddenForbidden operation.
Unexpected(String)Unexpected - Probably a Logic error.
RoutingError(RoutingError)Routing Error.
RoutingInterfaceError(InterfaceError)Interface Error.
RoutingClientError(ClientError)Routing Client Error.
UnsupportedSaltSizeForPwHashUnable to pack into or operate with size of Salt.
UnsuccessfulPwHashUnable to complete computation for password hashing - usually because OS refused to allocate amount of requested memory.
OperationAbortedBlocking operation was cancelled.
MpidMessagingError(Error)MpidMessaging Error.
SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>)Error while self-encrypting data.
RequestTimeoutThe 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