#[repr(transparent)]pub struct CryptoMac_ParamType(pub c_uint);Available on crate feature
api-20 only.Expand description
Defines the MAC algorithm parameter type.
Available since API-level: 20
Tuple Fields§
§0: c_uintImplementations§
Source§impl CryptoMac_ParamType
impl CryptoMac_ParamType
Sourcepub const CRYPTO_MAC_DIGEST_NAME_STR: CryptoMac_ParamType
pub const CRYPTO_MAC_DIGEST_NAME_STR: CryptoMac_ParamType
Indicates the algorithm name of the message digest function for HMAC. e.g. “SHA256”.
Sourcepub const CRYPTO_MAC_CIPHER_NAME_STR: CryptoMac_ParamType
pub const CRYPTO_MAC_CIPHER_NAME_STR: CryptoMac_ParamType
Indicates the algorithm name of the symmetric cipher function for CMAC. e.g. “AES256”.
Trait Implementations§
Source§impl Clone for CryptoMac_ParamType
impl Clone for CryptoMac_ParamType
Source§fn clone(&self) -> CryptoMac_ParamType
fn clone(&self) -> CryptoMac_ParamType
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 CryptoMac_ParamType
impl Debug for CryptoMac_ParamType
Source§impl Hash for CryptoMac_ParamType
impl Hash for CryptoMac_ParamType
Source§impl PartialEq for CryptoMac_ParamType
impl PartialEq for CryptoMac_ParamType
Source§fn eq(&self, other: &CryptoMac_ParamType) -> bool
fn eq(&self, other: &CryptoMac_ParamType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CryptoMac_ParamType
impl Eq for CryptoMac_ParamType
impl StructuralPartialEq for CryptoMac_ParamType
Auto Trait Implementations§
impl Freeze for CryptoMac_ParamType
impl RefUnwindSafe for CryptoMac_ParamType
impl Send for CryptoMac_ParamType
impl Sync for CryptoMac_ParamType
impl Unpin for CryptoMac_ParamType
impl UnsafeUnpin for CryptoMac_ParamType
impl UnwindSafe for CryptoMac_ParamType
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