pub struct Responder {
pub addr: SocketAddr,
pub last_response: DnsResponse,
pub last_responded: Instant,
}Available on crate feature
discovery only.Expand description
A responder is a device that responds to our queries.
Fieldsยง
ยงaddr: SocketAddrThe socket address they responded from.
last_response: DnsResponseThe last response we received from them, as a raw DNS message.
last_responded: InstantThe last time we received a response from them.
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Responder
impl RefUnwindSafe for Responder
impl Send for Responder
impl Sync for Responder
impl Unpin for Responder
impl UnwindSafe for Responder
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