pub enum DkimAlgorithm<'hdr> {
Rsa_Sha1,
Rsa_Sha256,
Ed25519_Sha256,
Unknown(&'hdr str),
}Expand description
DKIM Algorithms per IANA and RFC
Variants§
Rsa_Sha1
Do not use
Rsa_Sha256
Widely supported
Ed25519_Sha256
Please support this - not widely supported yet
Unknown(&'hdr str)
Unknown algorithm not specified by RFC / IANA
Trait Implementations§
Source§impl<'hdr> Clone for DkimAlgorithm<'hdr>
impl<'hdr> Clone for DkimAlgorithm<'hdr>
Source§fn clone(&self) -> DkimAlgorithm<'hdr>
fn clone(&self) -> DkimAlgorithm<'hdr>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'hdr> Debug for DkimAlgorithm<'hdr>
impl<'hdr> Debug for DkimAlgorithm<'hdr>
Source§impl<'hdr> PartialEq for DkimAlgorithm<'hdr>
impl<'hdr> PartialEq for DkimAlgorithm<'hdr>
Source§impl<'hdr> TryFrom<&'hdr str> for DkimAlgorithm<'hdr>
impl<'hdr> TryFrom<&'hdr str> for DkimAlgorithm<'hdr>
impl<'hdr> StructuralPartialEq for DkimAlgorithm<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for DkimAlgorithm<'hdr>
impl<'hdr> RefUnwindSafe for DkimAlgorithm<'hdr>
impl<'hdr> Send for DkimAlgorithm<'hdr>
impl<'hdr> Sync for DkimAlgorithm<'hdr>
impl<'hdr> Unpin for DkimAlgorithm<'hdr>
impl<'hdr> UnwindSafe for DkimAlgorithm<'hdr>
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