#[repr(transparent)]pub struct Crypto_CipherMode(pub c_uint);Available on crate feature
api-12 only.Expand description
Define crypto cipher mode.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Crypto_CipherMode
impl Crypto_CipherMode
Sourcepub const CRYPTO_ENCRYPT_MODE: Crypto_CipherMode
pub const CRYPTO_ENCRYPT_MODE: Crypto_CipherMode
Indicates encryption operation.
Sourcepub const CRYPTO_DECRYPT_MODE: Crypto_CipherMode
pub const CRYPTO_DECRYPT_MODE: Crypto_CipherMode
Indicates decryption operation.
Trait Implementations§
Source§impl Clone for Crypto_CipherMode
impl Clone for Crypto_CipherMode
Source§fn clone(&self) -> Crypto_CipherMode
fn clone(&self) -> Crypto_CipherMode
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 Crypto_CipherMode
impl Debug for Crypto_CipherMode
Source§impl Hash for Crypto_CipherMode
impl Hash for Crypto_CipherMode
Source§impl PartialEq for Crypto_CipherMode
impl PartialEq for Crypto_CipherMode
Source§fn eq(&self, other: &Crypto_CipherMode) -> bool
fn eq(&self, other: &Crypto_CipherMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Crypto_CipherMode
impl Eq for Crypto_CipherMode
impl StructuralPartialEq for Crypto_CipherMode
Auto Trait Implementations§
impl Freeze for Crypto_CipherMode
impl RefUnwindSafe for Crypto_CipherMode
impl Send for Crypto_CipherMode
impl Sync for Crypto_CipherMode
impl Unpin for Crypto_CipherMode
impl UnsafeUnpin for Crypto_CipherMode
impl UnwindSafe for Crypto_CipherMode
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