Struct async_dnssd::Record
[−]
[src]
pub struct Record(_);
A successful record registration
Releases the record when dropped (unless it is a
Registration::get_default_txt_record
or a
Register::get_default_txt_record
)
Also keeps the underlying Registration
or Connection
alive.
Methods
impl Record
[src]
fn rr_type(&self) -> u16
Type of the record
fn update_raw_record(&self, rdata: &[u8], ttl: u32) -> Result<()>
fn keep(self)
Keep record alive for as long as the underlying
Registration
or
Connection
lives