pub struct Fixed {
pub addresses: Vec<IpAddr>,
pub gateway: Option<IpAddr>,
pub locations: Vec<String>,
}Expand description
Answers given in advance, for tests.
Fields§
§addresses: Vec<IpAddr>What every host resolves to.
gateway: Option<IpAddr>The default gateway.
locations: Vec<String>The LOCATION URLs of the SSDP answers.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Fixed
impl Freeze for Fixed
impl Move for Fixed
impl RefUnwindSafe for Fixed
impl Send for Fixed
impl Sync for Fixed
impl Unpin for Fixed
impl UnsafeUnpin for Fixed
impl UnwindSafe for Fixed
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