pub struct ParamsBuilder<'k, 'l, 'c>(/* private fields */);
Expand description
Parameters builders for Params
Implementations§
Source§impl<'k, 'l, 'c> ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> ParamsBuilder<'k, 'l, 'c>
Sourcepub fn with_label(self, label: &'l [u8]) -> Self
pub fn with_label(self, label: &'l [u8]) -> Self
Set the label for the parameters
Sourcepub fn with_context(self, context: &'c [u8]) -> Self
pub fn with_context(self, context: &'c [u8]) -> Self
Set the context for the parameters
Sourcepub fn use_separator(self, use_separator: bool) -> Self
pub fn use_separator(self, use_separator: bool) -> Self
During the iterations, separate the label from the context with a NULL byte
Sourcepub fn use_counter(self, use_counter: bool) -> Self
pub fn use_counter(self, use_counter: bool) -> Self
During the iterations, update the Prf with the iteration counter
Auto Trait Implementations§
impl<'k, 'l, 'c> Freeze for ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> RefUnwindSafe for ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> Send for ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> Sync for ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> Unpin for ParamsBuilder<'k, 'l, 'c>
impl<'k, 'l, 'c> UnwindSafe for ParamsBuilder<'k, 'l, 'c>
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