#[non_exhaustive]pub struct DnsCacheEntry {
pub hostname: String,
pub address: String,
}Expand description
A cache <hostname> inet <address> entry of a DNS proxy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hostname: String§address: StringTrait Implementations§
Source§impl Clone for DnsCacheEntry
impl Clone for DnsCacheEntry
Source§impl Debug for DnsCacheEntry
impl Debug for DnsCacheEntry
impl Eq for DnsCacheEntry
Source§impl PartialEq for DnsCacheEntry
impl PartialEq for DnsCacheEntry
impl StructuralPartialEq for DnsCacheEntry
Auto Trait Implementations§
impl Forget for DnsCacheEntry
impl Freeze for DnsCacheEntry
impl Move for DnsCacheEntry
impl RefUnwindSafe for DnsCacheEntry
impl Send for DnsCacheEntrywhere
RawVecInner: Send,
impl Sync for DnsCacheEntrywhere
RawVecInner: Sync,
impl Unpin for DnsCacheEntry
impl UnsafeUnpin for DnsCacheEntry
impl UnwindSafe for DnsCacheEntrywhere
RawVecInner: UnwindSafe,
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