pub enum ReversePath<'a> {
Null,
Path(&'a str),
}Expand description
Reverse path (the MAIL FROM:<...> envelope sender).
Variants§
Null
Empty reverse path (<>) — null sender, used for bounces.
Path(&'a str)
Concrete sender address.
Trait Implementations§
Source§impl<'a> Clone for ReversePath<'a>
impl<'a> Clone for ReversePath<'a>
Source§fn clone(&self) -> ReversePath<'a>
fn clone(&self) -> ReversePath<'a>
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<'a> Debug for ReversePath<'a>
impl<'a> Debug for ReversePath<'a>
Source§impl<'a> PartialEq for ReversePath<'a>
impl<'a> PartialEq for ReversePath<'a>
Source§fn eq(&self, other: &ReversePath<'a>) -> bool
fn eq(&self, other: &ReversePath<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Eq for ReversePath<'a>
impl<'a> StructuralPartialEq for ReversePath<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReversePath<'a>
impl<'a> RefUnwindSafe for ReversePath<'a>
impl<'a> Send for ReversePath<'a>
impl<'a> Sync for ReversePath<'a>
impl<'a> Unpin for ReversePath<'a>
impl<'a> UnsafeUnpin for ReversePath<'a>
impl<'a> UnwindSafe for ReversePath<'a>
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