pub enum ReversePath {
Path(MailPath),
NullSender,
}Expand description
The reverse path (sender) for a MAIL FROM command
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ReversePath
impl Clone for ReversePath
Source§fn clone(&self) -> ReversePath
fn clone(&self) -> ReversePath
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 Debug for ReversePath
impl Debug for ReversePath
Source§impl Display for ReversePath
impl Display for ReversePath
Source§impl From<MailPath> for ReversePath
impl From<MailPath> for ReversePath
Source§impl From<Mailbox> for ReversePath
Infallible conversion: wraps a Mailbox in a ReversePath::Path.
impl From<Mailbox> for ReversePath
Infallible conversion: wraps a Mailbox in a ReversePath::Path.
Source§impl PartialEq for ReversePath
impl PartialEq for ReversePath
Source§impl TryFrom<&str> for ReversePath
impl TryFrom<&str> for ReversePath
Source§impl TryFrom<EnvelopeAddress> for ReversePath
impl TryFrom<EnvelopeAddress> for ReversePath
Source§impl TryFrom<ForwardPath> for ReversePath
impl TryFrom<ForwardPath> for ReversePath
Source§impl TryFrom<ReversePath> for EnvelopeAddress
impl TryFrom<ReversePath> for EnvelopeAddress
Source§impl TryFrom<ReversePath> for ForwardPath
impl TryFrom<ReversePath> for ForwardPath
Source§impl TryFrom<ReversePath> for MailPath
impl TryFrom<ReversePath> for MailPath
Source§impl TryFrom<ReversePath> for Mailbox
impl TryFrom<ReversePath> for Mailbox
impl Eq for ReversePath
impl StructuralPartialEq for ReversePath
Auto Trait Implementations§
impl Freeze for ReversePath
impl RefUnwindSafe for ReversePath
impl Send for ReversePath
impl Sync for ReversePath
impl Unpin for ReversePath
impl UnwindSafe for ReversePath
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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