pub struct Aead {
pub async_capable: bool,
pub block_size: usize,
pub iv_size: usize,
pub max_auth_size: usize,
pub gen_iv: Option<usize>,
}
Fields§
§async_capable: bool
§block_size: usize
§iv_size: usize
§max_auth_size: usize
§gen_iv: Option<usize>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Aead
impl<'de> Deserialize<'de> for Aead
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Aead
Auto Trait Implementations§
impl Freeze for Aead
impl RefUnwindSafe for Aead
impl Send for Aead
impl Sync for Aead
impl Unpin for Aead
impl UnwindSafe for 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)