pub struct ServiceBrowser { /* private fields */ }Expand description
Main service browser, calls callback upon discovery of service
Implementations§
Source§impl ServiceBrowser
impl ServiceBrowser
Sourcepub fn recv_timeout(&self, timeout: Duration) -> Result<Service, BrowseError>
pub fn recv_timeout(&self, timeout: Duration) -> Result<Service, BrowseError>
Returns discovered services if any
Trait Implementations§
Source§impl Drop for ServiceBrowser
impl Drop for ServiceBrowser
impl Send for ServiceBrowser
Auto Trait Implementations§
impl !Sync for ServiceBrowser
impl Freeze for ServiceBrowser
impl RefUnwindSafe for ServiceBrowser
impl Unpin for ServiceBrowser
impl UnsafeUnpin for ServiceBrowser
impl UnwindSafe for ServiceBrowser
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