Struct monocypher_sys::crypto_aead_ctx
source · #[repr(C)]pub struct crypto_aead_ctx {
pub counter: u64,
pub key: [u8; 32],
pub nonce: [u8; 8],
}
Fields§
§counter: u64
§key: [u8; 32]
§nonce: [u8; 8]
Trait Implementations§
source§impl Clone for crypto_aead_ctx
impl Clone for crypto_aead_ctx
source§fn clone(&self) -> crypto_aead_ctx
fn clone(&self) -> crypto_aead_ctx
Returns a copy of the value. Read more
1.0.0 · 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_aead_ctx
impl Debug for crypto_aead_ctx
impl Copy for crypto_aead_ctx
Auto Trait Implementations§
impl RefUnwindSafe for crypto_aead_ctx
impl Send for crypto_aead_ctx
impl Sync for crypto_aead_ctx
impl Unpin for crypto_aead_ctx
impl UnwindSafe for crypto_aead_ctx
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