pub struct Signer<'a> { /* private fields */ }Implementations
sourceimpl<'a> Signer<'a>
impl<'a> Signer<'a>
DKIM signer. Use the SignerBuilder to build an instance.
sourcepub fn sign<'b>(&self, email: &'b ParsedMail<'b>) -> Result<String, DKIMError>
pub fn sign<'b>(&self, email: &'b ParsedMail<'b>) -> Result<String, DKIMError>
Sign a message As specified in https://datatracker.ietf.org/doc/html/rfc6376#section-5
Auto Trait Implementations
impl<'a> RefUnwindSafe for Signer<'a>
impl<'a> Send for Signer<'a>
impl<'a> Sync for Signer<'a>
impl<'a> Unpin for Signer<'a>
impl<'a> UnwindSafe for Signer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more