zeroconf 0.18.0

cross-platform library that wraps ZeroConf/mDNS implementations like Bonjour or Avahi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Crate prelude

pub use crate::browser::TMdnsBrowser;
pub use crate::event_loop::TEventLoop;
pub use crate::service::TMdnsService;
pub use crate::txt_record::TTxtRecord;

/// Implements a `builder()` function for the specified type
pub trait BuilderDelegate<T: Default> {
    /// Initializes a new default builder of type `T`
    fn builder() -> T {
        T::default()
    }
}