pub struct Signer { /* private fields */ }
Implementations§
Source§impl Signer
DKIM signer. Use the SignerBuilder to build an instance.
impl Signer
DKIM signer. Use the SignerBuilder to build an instance.
Sourcepub fn sign<'b>(&self, email: &'b ParsedEmail<'b>) -> Result<String, DKIMError>
pub fn sign<'b>(&self, email: &'b ParsedEmail<'b>) -> Result<String, DKIMError>
Sign a message As specified in https://datatracker.ietf.org/doc/html/rfc6376#section-5
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signer
impl RefUnwindSafe for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl UnwindSafe for Signer
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