struct DnsCacheEntry {
valid: bool,
name: [u8; 64],
name_len: usize,
ip: [u8; 4],
expires_ms: u64,
}Fields§
§valid: bool§name: [u8; 64]§name_len: usize§ip: [u8; 4]§expires_ms: u64Implementations§
Source§impl DnsCacheEntry
impl DnsCacheEntry
Trait Implementations§
Source§impl Clone for DnsCacheEntry
impl Clone for DnsCacheEntry
Source§fn clone(&self) -> DnsCacheEntry
fn clone(&self) -> DnsCacheEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DnsCacheEntry
Auto Trait Implementations§
impl Freeze for DnsCacheEntry
impl RefUnwindSafe for DnsCacheEntry
impl Send for DnsCacheEntry
impl Sync for DnsCacheEntry
impl Unpin for DnsCacheEntry
impl UnsafeUnpin for DnsCacheEntry
impl UnwindSafe for DnsCacheEntry
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