pub struct AeadCodecBuilder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
pub fn set_hkdf_algorithm(&mut self, a: &'static HkdfAlgorithm) -> &mut Self
pub fn set_aead_algorithm(&mut self, a: &'static AeadAlgorithm) -> &mut Self
pub fn set_salt_len(&mut self, len: usize) -> &mut Self
pub fn set_padding_len(&mut self, len: u8) -> &mut Self
pub fn create(self, psk: &str) -> AeadCodec
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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