zeroconf/
prelude.rs

1//! Crate prelude
2
3pub use crate::browser::TMdnsBrowser;
4pub use crate::event_loop::TEventLoop;
5pub use crate::service::TMdnsService;
6pub use crate::txt_record::TTxtRecord;
7
8/// Implements a `builder()` function for the specified type
9pub trait BuilderDelegate<T: Default> {
10    /// Initializes a new default builder of type `T`
11    fn builder() -> T {
12        T::default()
13    }
14}