pub struct DigestResponseBuilder<'a> { /* private fields */ }Expand description
Digest response builder.
Implementations§
Source§impl DigestResponseBuilder<'_>
impl DigestResponseBuilder<'_>
Sourcepub fn nc(self, nc: u32) -> Self
pub fn nc(self, nc: u32) -> Self
Set the nonce count.
The first request using the same nonce value must start with nonce count 1 and increase by one for each subsequent request. The default value is 1.
Sourcepub fn cnonce<T>(self, cnonce: T) -> Self
pub fn cnonce<T>(self, cnonce: T) -> Self
Set the client nonce.
It will be generated automatically if not set.
Auto Trait Implementations§
impl<'a> Freeze for DigestResponseBuilder<'a>
impl<'a> RefUnwindSafe for DigestResponseBuilder<'a>
impl<'a> Send for DigestResponseBuilder<'a>
impl<'a> Sync for DigestResponseBuilder<'a>
impl<'a> Unpin for DigestResponseBuilder<'a>
impl<'a> UnwindSafe for DigestResponseBuilder<'a>
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