Struct async_dnssd::Registration
source · pub struct Registration(_);
Expand description
Implementations§
source§impl Registration
impl Registration
sourcepub fn add_record(&self, rr_type: Type, rdata: &[u8], ttl: u32) -> Result<Record>
pub fn add_record(&self, rr_type: Type, rdata: &[u8], ttl: u32) -> Result<Record>
Add a record to a registered service
sourcepub fn get_default_txt_record(&self) -> Record
pub fn get_default_txt_record(&self) -> Record
Get Record
handle for default TXT record
associated with the service registration (e.g. to update it).
Record::keep
doesn’t do
anything useful on that handle.