pub struct Expected {
pub address: IpAddr,
pub router: Option<bool>,
pub client: Option<bool>,
}Expand description
Whether the answers have the expected address; None for an answer
without addresses, or an incomplete one without the address.
Fields§
§address: IpAddr§router: Option<bool>§client: Option<bool>Trait Implementations§
impl Eq for Expected
impl StructuralPartialEq for Expected
Auto Trait Implementations§
impl Forget for Expected
impl Freeze for Expected
impl Move for Expected
impl RefUnwindSafe for Expected
impl Send for Expected
impl Sync for Expected
impl Unpin for Expected
impl UnsafeUnpin for Expected
impl UnwindSafe for Expected
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