Struct async_dnssd::Connection
source · pub struct Connection(_);
Expand description
Connection to register records with
Implementations§
source§impl Connection
impl Connection
sourcepub fn register_record_extended(
&self,
fullname: &str,
rr_type: Type,
rdata: &[u8],
data: RegisterRecordData
) -> Result<RegisterRecord>
pub fn register_record_extended(
&self,
fullname: &str,
rr_type: Type,
rdata: &[u8],
data: RegisterRecordData
) -> Result<RegisterRecord>
Register record on interface with given name, type, class, rdata and ttl
sourcepub fn register_record(
&self,
fullname: &str,
rr_type: Type,
rdata: &[u8]
) -> Result<RegisterRecord>
pub fn register_record(
&self,
fullname: &str,
rr_type: Type,
rdata: &[u8]
) -> Result<RegisterRecord>
Register record on interface with given name, type, class, rdata and ttl
Uses register_record_extended
with default RegisterRecordData
.