pub struct DnsEntry<T> {
pub entry: T,
pub expires: Instant,
}
Fields§
§entry: T
§expires: Instant
Auto Trait Implementations§
impl<T> Freeze for DnsEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for DnsEntry<T>where
T: RefUnwindSafe,
impl<T> Send for DnsEntry<T>where
T: Send,
impl<T> Sync for DnsEntry<T>where
T: Sync,
impl<T> Unpin for DnsEntry<T>where
T: Unpin,
impl<T> UnwindSafe for DnsEntry<T>where
T: 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