Struct dns_sd::DNSService
[−]
[src]
pub struct DNSService { /* fields omitted */ }
Methods
impl DNSService
[src]
pub fn register(
name: Option<&str>,
regtype: &str,
domain: Option<&str>,
host: Option<&str>,
port: u16,
txt: &[&str]
) -> Result<DNSService, DNSError>
[src]
name: Option<&str>,
regtype: &str,
domain: Option<&str>,
host: Option<&str>,
port: u16,
txt: &[&str]
) -> Result<DNSService, DNSError>
Trait Implementations
impl Debug for DNSService
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more