[−][src]Enum safe_app::AppError
App error.
Variants
CoreError(CoreError)
Error from safe_core.
IpcError(IpcError)
IPC error.
NfsError(NfsError)
NFS error.
Generic encoding / decoding failure.
Forbidden operation.
NoSuchContainer(String)
Container not found.
Invalid file mode (e.g. trying to write when file is opened for reading only).
Tried to access a client key from an unregistered client.
Invalid CipherOpt handle.
Invalid encrypt (threshold_crypto) key handle.
Invalid secret key handle.
Invalid MutableData entries handle.
Invalid MutableData entry actions handle.
Invalid MutableData permissions handle.
Invalid Self Encryptor handle.
Invalid public sign key handle.
Invalid secret sign key handle.
Invalid public key handle.
Invalid file writer handle.
SelfEncryption(SelfEncryptionError<SelfEncryptionStorageError>)
Error while self-encrypting data.
Invalid offsets (from-position and length combination) provided for reading form SelfEncryptor. Would have probably caused an overflow.
IoError(IoError)
Input/output error.
Unexpected(String)
Unexpected error.
Trait Implementations
impl Debug for AppError
[src]
impl Display for AppError
[src]
impl ErrorCode for AppError
[src]
fn error_code(&self) -> i32
[src]
impl<'a> From<&'a str> for AppError
[src]
impl From<Box<ErrorKind>> for AppError
[src]
fn from(_err: SerialisationError) -> Self
[src]
impl From<CoreError> for AppError
[src]
impl From<Error> for AppError
[src]
impl From<FromBytesError> for AppError
[src]
fn from(err: FromBytesError) -> Self
[src]
impl From<IpcError> for AppError
[src]
impl From<NfsError> for AppError
[src]
impl From<NulError> for AppError
[src]
impl From<RecvError> for AppError
[src]
impl From<RecvTimeoutError> for AppError
[src]
fn from(_err: RecvTimeoutError) -> Self
[src]
impl From<SelfEncryptionError<SelfEncryptionStorageError>> for AppError
[src]
fn from(err: SelfEncryptionError<SelfEncryptionStorageError>) -> Self
[src]
impl<T: 'static> From<SendError<T>> for AppError
[src]
impl From<String> for AppError
[src]
impl From<StringError> for AppError
[src]
fn from(_err: StringError) -> Self
[src]
impl From<Utf8Error> for AppError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for AppError
impl Send for AppError
impl Sync for AppError
impl Unpin for AppError
impl !UnwindSafe for AppError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,