pub struct Signer { /* private fields */ }
Implementations§
source§impl Signer
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
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