Enum safe_app::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 Error for CoreError[src]
impl Error for CoreErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for CoreError[src]
impl Display for CoreErrorfn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Debug for CoreError[src]
impl Debug for CoreErrorfn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl From<CoreError> for SelfEncryptionStorageError[src]
impl From<CoreError> for SelfEncryptionStorageErrorfn from(error: CoreError) -> SelfEncryptionStorageError[src]
fn from(error: CoreError) -> SelfEncryptionStorageErrorPerforms the conversion.
impl From<RoutingError> for CoreError[src]
impl From<RoutingError> for CoreErrorfn from(error: RoutingError) -> CoreError[src]
fn from(error: RoutingError) -> CoreErrorPerforms the conversion.
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for CoreError[src]
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for CoreErrorfn from(error: SelfEncryptionError<SelfEncryptionStorageError>) -> CoreError[src]
fn from(error: SelfEncryptionError<SelfEncryptionStorageError>) -> CoreErrorPerforms the conversion.
impl From<Error> for CoreError[src]
impl From<Error> for CoreErrorimpl From<Error> for CoreError[src]
impl From<Error> for CoreErrorimpl<T> From<SendError<T>> for CoreError[src]
impl<T> From<SendError<T>> for CoreErrorimpl From<String> for CoreError[src]
impl From<String> for CoreErrorimpl From<Error> for CoreError[src]
impl From<Error> for CoreErrorimpl From<ClientError> for CoreError[src]
impl From<ClientError> for CoreErrorfn from(error: ClientError) -> CoreError[src]
fn from(error: ClientError) -> CoreErrorPerforms the conversion.
impl From<RecvError> for CoreError[src]
impl From<RecvError> for CoreErrorimpl From<SerialisationError> for CoreError[src]
impl From<SerialisationError> for CoreErrorfn from(error: SerialisationError) -> CoreError[src]
fn from(error: SerialisationError) -> CoreErrorPerforms the conversion.
impl<'a> From<&'a str> for CoreError[src]
impl<'a> From<&'a str> for CoreErrorimpl From<CoreError> for NfsError[src]
impl From<CoreError> for NfsErrorimpl From<InterfaceError> for CoreError[src]
impl From<InterfaceError> for CoreErrorfn from(error: InterfaceError) -> CoreError[src]
fn from(error: InterfaceError) -> CoreErrorPerforms the conversion.
impl From<CoreError> for AppError[src]
impl From<CoreError> for AppError