pub struct Builder(/* private fields */);Expand description
Builds hash contexts.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn for_signature(self, version: u8) -> Context ⓘ
pub fn for_signature(self, version: u8) -> Context ⓘ
Returns a hash context for signing and verification of OpenPGP signatures.
Sourcepub fn for_digest(self) -> Context ⓘ
pub fn for_digest(self) -> Context ⓘ
Returns a hash context for general hashing, i.e. not for the purpose of signing and verification of OpenPGP signatures
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