#[repr(C)]pub struct ChaChaPoly_Aead {
pub chacha: ChaCha,
pub poly: Poly1305,
pub aadLen: word32,
pub dataLen: word32,
pub state: byte,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u16; 3],
}Fields§
§chacha: ChaCha§poly: Poly1305§aadLen: word32§dataLen: word32§state: byte§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u16; 3]Implementations§
Source§impl ChaChaPoly_Aead
impl ChaChaPoly_Aead
pub fn isEncrypt(&self) -> byte
pub fn set_isEncrypt(&mut self, val: byte)
pub fn new_bitfield_1(isEncrypt: byte) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ChaChaPoly_Aead
impl Clone for ChaChaPoly_Aead
Source§fn clone(&self) -> ChaChaPoly_Aead
fn clone(&self) -> ChaChaPoly_Aead
Returns a duplicate 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 ChaChaPoly_Aead
impl Debug for ChaChaPoly_Aead
impl Copy for ChaChaPoly_Aead
Auto Trait Implementations§
impl Freeze for ChaChaPoly_Aead
impl RefUnwindSafe for ChaChaPoly_Aead
impl Send for ChaChaPoly_Aead
impl Sync for ChaChaPoly_Aead
impl Unpin for ChaChaPoly_Aead
impl UnwindSafe for ChaChaPoly_Aead
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