#[repr(transparent)]pub struct CryptoErrorCode(pub NonZero<c_uint>);Available on crate feature
api-12 only.Expand description
Enumerates the error codes.
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl CryptoErrorCode
impl CryptoErrorCode
Sourcepub const INVALID_PARAMS: CryptoErrorCode
pub const INVALID_PARAMS: CryptoErrorCode
Indicates that input parameters is invalid.
Sourcepub const NOT_SUPPORTED: CryptoErrorCode
pub const NOT_SUPPORTED: CryptoErrorCode
Indicates that function or algorithm is not supported.
Sourcepub const MEMORY_ERROR: CryptoErrorCode
pub const MEMORY_ERROR: CryptoErrorCode
Indicates the memory error.
Sourcepub const PARAMETER_CHECK_FAILED: CryptoErrorCode
Available on crate feature api-20 only.
pub const PARAMETER_CHECK_FAILED: CryptoErrorCode
api-20 only.Indicates that parameter check failed.
Available since API-level: 20
Sourcepub const OPERTION_ERROR: CryptoErrorCode
pub const OPERTION_ERROR: CryptoErrorCode
Indicates that crypto operation error.
Trait Implementations§
Source§impl Clone for CryptoErrorCode
impl Clone for CryptoErrorCode
Source§fn clone(&self) -> CryptoErrorCode
fn clone(&self) -> CryptoErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptoErrorCode
impl Debug for CryptoErrorCode
Source§impl Hash for CryptoErrorCode
impl Hash for CryptoErrorCode
Source§impl PartialEq for CryptoErrorCode
impl PartialEq for CryptoErrorCode
Source§fn eq(&self, other: &CryptoErrorCode) -> bool
fn eq(&self, other: &CryptoErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CryptoErrorCode
impl Eq for CryptoErrorCode
impl StructuralPartialEq for CryptoErrorCode
Auto Trait Implementations§
impl Freeze for CryptoErrorCode
impl RefUnwindSafe for CryptoErrorCode
impl Send for CryptoErrorCode
impl Sync for CryptoErrorCode
impl Unpin for CryptoErrorCode
impl UnsafeUnpin for CryptoErrorCode
impl UnwindSafe for CryptoErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more