Enum async_smtp::extension::ClientId
source · pub enum ClientId {
Domain(String),
Ipv4(Ipv4Addr),
Ipv6(Ipv6Addr),
}
Expand description
Client identifier, the parameter to EHLO
Variants§
Domain(String)
A fully-qualified domain name
Ipv4(Ipv4Addr)
An IPv4 address
Ipv6(Ipv6Addr)
An IPv6 address
Implementations§
Trait Implementations§
source§impl PartialEq for ClientId
impl PartialEq for ClientId
impl Eq for ClientId
impl StructuralPartialEq for ClientId
Auto Trait Implementations§
impl Freeze for ClientId
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
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