pub enum DkimAlgorithm {
RsaSha256,
Ed25519Sha256,
RsaSha1,
}Expand description
DKIM signature algorithm label.
Variants§
RsaSha256
rsa-sha256.
Ed25519Sha256
ed25519-sha256.
RsaSha1
rsa-sha1, retained as vocabulary metadata for older signatures.
Implementations§
Trait Implementations§
Source§impl Clone for DkimAlgorithm
impl Clone for DkimAlgorithm
Source§fn clone(&self) -> DkimAlgorithm
fn clone(&self) -> DkimAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DkimAlgorithm
impl Debug for DkimAlgorithm
Source§impl Default for DkimAlgorithm
impl Default for DkimAlgorithm
Source§fn default() -> DkimAlgorithm
fn default() -> DkimAlgorithm
Returns the “default value” for a type. Read more
Source§impl Display for DkimAlgorithm
impl Display for DkimAlgorithm
Source§impl FromStr for DkimAlgorithm
impl FromStr for DkimAlgorithm
Source§impl Hash for DkimAlgorithm
impl Hash for DkimAlgorithm
Source§impl Ord for DkimAlgorithm
impl Ord for DkimAlgorithm
Source§fn cmp(&self, other: &DkimAlgorithm) -> Ordering
fn cmp(&self, other: &DkimAlgorithm) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DkimAlgorithm
impl PartialEq for DkimAlgorithm
Source§fn eq(&self, other: &DkimAlgorithm) -> bool
fn eq(&self, other: &DkimAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DkimAlgorithm
impl PartialOrd for DkimAlgorithm
impl Copy for DkimAlgorithm
impl Eq for DkimAlgorithm
impl StructuralPartialEq for DkimAlgorithm
Auto Trait Implementations§
impl Freeze for DkimAlgorithm
impl RefUnwindSafe for DkimAlgorithm
impl Send for DkimAlgorithm
impl Sync for DkimAlgorithm
impl Unpin for DkimAlgorithm
impl UnsafeUnpin for DkimAlgorithm
impl UnwindSafe for DkimAlgorithm
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