pub struct ServiceDiscovery { /* private fields */ }
Expand description
Represents a service that has been discovered by a MdnsBrowser
.
Implementations§
Source§impl ServiceDiscovery
Auto-generated by derive_getters::Getters
.
impl ServiceDiscovery
Auto-generated by derive_getters::Getters
.
Sourcepub fn service_type(&self) -> &ServiceType
pub fn service_type(&self) -> &ServiceType
Get field service_type
from instance of ServiceDiscovery
.
Sourcepub fn txt(&self) -> &Option<AvahiTxtRecord>
pub fn txt(&self) -> &Option<AvahiTxtRecord>
Get field txt
from instance of ServiceDiscovery
.
Trait Implementations§
Source§impl Clone for ServiceDiscovery
impl Clone for ServiceDiscovery
Source§fn clone(&self) -> ServiceDiscovery
fn clone(&self) -> ServiceDiscovery
Returns a duplicate 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 moreSource§impl Debug for ServiceDiscovery
impl Debug for ServiceDiscovery
Source§impl PartialEq for ServiceDiscovery
impl PartialEq for ServiceDiscovery
impl Eq for ServiceDiscovery
impl StructuralPartialEq for ServiceDiscovery
Auto Trait Implementations§
impl !Freeze for ServiceDiscovery
impl !RefUnwindSafe for ServiceDiscovery
impl Send for ServiceDiscovery
impl !Sync for ServiceDiscovery
impl Unpin for ServiceDiscovery
impl UnwindSafe for ServiceDiscovery
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