pub struct MDNSDevice {
pub fullname: String,
pub addresses: HashSet<IpAddr>,
}
Expand description
Represent a device found from mdns search
Fields§
§fullname: String
Full device address when resolved
addresses: HashSet<IpAddr>
Device IP addresses
Trait Implementations§
Source§impl Debug for MDNSDevice
impl Debug for MDNSDevice
Source§impl From<ServiceInfo> for MDNSDevice
impl From<ServiceInfo> for MDNSDevice
Source§fn from(value: ServiceInfo) -> Self
fn from(value: ServiceInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MDNSDevice
impl RefUnwindSafe for MDNSDevice
impl Send for MDNSDevice
impl Sync for MDNSDevice
impl Unpin for MDNSDevice
impl UnwindSafe for MDNSDevice
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