pub struct Blake2bBuilder { /* private fields */ }
Implementations§
Source§impl Blake2bBuilder
impl Blake2bBuilder
pub fn new(out_len: usize) -> Blake2bBuilder
pub fn salt(self, salt: &[u8]) -> Blake2bBuilder
pub fn personal(self, personal: &[u8]) -> Blake2bBuilder
pub fn key(self, key: &[u8]) -> Blake2bBuilder
pub fn build(self) -> Blake2b
Auto Trait Implementations§
impl Freeze for Blake2bBuilder
impl RefUnwindSafe for Blake2bBuilder
impl Send for Blake2bBuilder
impl Sync for Blake2bBuilder
impl Unpin for Blake2bBuilder
impl UnwindSafe for Blake2bBuilder
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