pub struct KeyAeadParams {
pub nonce_length: usize,
pub tag_length: usize,
}Expand description
A structure combining the AEAD parameters
Fields§
§nonce_length: usizeThe length of the nonce
tag_length: usizeThe length of the tag
Trait Implementations§
Source§impl Clone for KeyAeadParams
impl Clone for KeyAeadParams
Source§fn clone(&self) -> KeyAeadParams
fn clone(&self) -> KeyAeadParams
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 KeyAeadParams
impl Debug for KeyAeadParams
Source§impl Default for KeyAeadParams
impl Default for KeyAeadParams
Source§fn default() -> KeyAeadParams
fn default() -> KeyAeadParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for KeyAeadParams
impl PartialEq for KeyAeadParams
impl Copy for KeyAeadParams
impl Eq for KeyAeadParams
impl StructuralPartialEq for KeyAeadParams
Auto Trait Implementations§
impl Freeze for KeyAeadParams
impl RefUnwindSafe for KeyAeadParams
impl Send for KeyAeadParams
impl Sync for KeyAeadParams
impl Unpin for KeyAeadParams
impl UnwindSafe for KeyAeadParams
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