pub enum ChainBinding {
Envelope {
mail_from: String,
rcpt_to: Vec<String>,
},
NextDomain(String),
}Expand description
How a DKIM2-Signature links to the next hop in the chain of custody
(§10.5 to §10.7, §12.2 and §12.3).
Variants§
Envelope
The SMTP envelope used when the signer sent the message (mf= and
rt=). Addresses are RFC 5321 paths including the angle brackets;
mail_from is <> for a null reverse-path.
Fields
NextDomain(String)
nd=: domain of the next DKIM2-Signature, used for an imaginary hop
where the message changes domain without an SMTP transaction.
Trait Implementations§
Source§impl Clone for ChainBinding
impl Clone for ChainBinding
Source§impl Debug for ChainBinding
impl Debug for ChainBinding
Source§impl Default for ChainBinding
impl Default for ChainBinding
impl Eq for ChainBinding
Source§impl PartialEq for ChainBinding
impl PartialEq for ChainBinding
impl StructuralPartialEq for ChainBinding
Auto Trait Implementations§
impl Freeze for ChainBinding
impl RefUnwindSafe for ChainBinding
impl Send for ChainBinding
impl Sync for ChainBinding
impl Unpin for ChainBinding
impl UnsafeUnpin for ChainBinding
impl UnwindSafe for ChainBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more