pub enum SmtpHost {
Domain(String),
Ipv4(Ipv4Addr),
Ipv6(Ipv6Addr),
Invalid {
label: String,
literal: String,
},
Other {
label: String,
literal: String,
},
}
Variants
Trait Implementations
impl Eq for SmtpHost
impl StructuralEq for SmtpHost
impl StructuralPartialEq for SmtpHost
Auto Trait Implementations
impl RefUnwindSafe for SmtpHost
impl Send for SmtpHost
impl Sync for SmtpHost
impl Unpin for SmtpHost
impl UnwindSafe for SmtpHost
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more