Enum mail_parser::Host
source · pub enum Host<'x> {
Name(Cow<'x, str>),
IpAddr(IpAddr),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'x> PartialEq for Host<'x>
impl<'x> PartialEq for Host<'x>
impl<'x> Eq for Host<'x>
impl<'x> StructuralPartialEq for Host<'x>
Auto Trait Implementations§
impl<'x> Freeze for Host<'x>
impl<'x> RefUnwindSafe for Host<'x>
impl<'x> Send for Host<'x>
impl<'x> Sync for Host<'x>
impl<'x> Unpin for Host<'x>
impl<'x> UnwindSafe for Host<'x>
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