Struct kitsune_p2p_mdns::MdnsResponse
source · pub struct MdnsResponse {
pub service_type: String,
pub service_name: String,
pub addr: IpAddr,
pub buffer: Vec<u8>,
}
Expand description
Fields§
§service_type: String
Service type used
service_name: String
Service name used
addr: IpAddr
IP address that responded to the mdns query
buffer: Vec<u8>
Data contained in the TXT record
Trait Implementations§
source§impl Clone for MdnsResponse
impl Clone for MdnsResponse
source§fn clone(&self) -> MdnsResponse
fn clone(&self) -> MdnsResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MdnsResponse
impl RefUnwindSafe for MdnsResponse
impl Send for MdnsResponse
impl Sync for MdnsResponse
impl Unpin for MdnsResponse
impl UnwindSafe for MdnsResponse
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