pub enum NameRecord {
IPv4([u8; 4], String),
IPv6([u8; 16], String),
End,
}Expand description
Name resolution record type
Variants§
IPv4([u8; 4], String)
IPv4 address mapping
IPv6([u8; 16], String)
IPv6 address mapping
End
End of records
Trait Implementations§
Source§impl Clone for NameRecord
impl Clone for NameRecord
Source§fn clone(&self) -> NameRecord
fn clone(&self) -> NameRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NameRecord
impl Debug for NameRecord
Source§impl PartialEq for NameRecord
impl PartialEq for NameRecord
impl StructuralPartialEq for NameRecord
Auto Trait Implementations§
impl Freeze for NameRecord
impl RefUnwindSafe for NameRecord
impl Send for NameRecord
impl Sync for NameRecord
impl Unpin for NameRecord
impl UnsafeUnpin for NameRecord
impl UnwindSafe for NameRecord
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