Enum webpki::subject_name::ip_address::IpAddr
source · pub enum IpAddr {
V4(String, [u8; 4]),
V6(String, [u8; 16]),
}
Expand description
Either a IPv4 or IPv6 address, plus its owned string representation
Variants§
V4(String, [u8; 4])
An IPv4 address and its owned string representation
V6(String, [u8; 16])
An IPv6 address and its owned string representation
Trait Implementations§
source§impl PartialEq for IpAddr
impl PartialEq for IpAddr
impl Eq for IpAddr
impl StructuralPartialEq for IpAddr
Auto Trait Implementations§
impl Freeze for IpAddr
impl RefUnwindSafe for IpAddr
impl Send for IpAddr
impl Sync for IpAddr
impl Unpin for IpAddr
impl UnwindSafe for IpAddr
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