[−][src]Enum psa_crypto::types::status::Error
Definition of a PSA status code
Variants
An error occurred that does not correspond to any defined failure cause
The requested operation or a parameter is not supported by this implementation
The requested action is denied by a policy
An output buffer is too small
Asking for an item that already exists
Asking for an item that doesn't exist
The requested action cannot be performed in the current state
The parameters passed to the function are invalid
There is not enough runtime memory
There is not enough persistent storage
There was a communication failure inside the implementation
There was a storage failure that may have led to data loss
Stored data has been corrupted
Data read from storage is not valid for the implementation
A hardware failure was detected
A tampering attempt was detected
There is not enough entropy to generate random data needed for the requested action
The signature, MAC or hash is incorrect
The decrypted padding is incorrect
Insufficient data when attempting to read from a resource
The key handle is not valid
Trait Implementations
impl Clone for Error
[src]
impl Copy for Error
[src]
impl Debug for Error
[src]
impl From<Error> for Status
[src]
impl From<Error> for psa_status_t
[src]
fn from(error: Error) -> psa_status_t
[src]
impl PartialEq<Error> for Error
[src]
impl StructuralPartialEq for Error
[src]
impl Zeroize for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src]
Z: DefaultIsZeroes,