Struct async_dnssd::Record
source · pub struct Record(/* private fields */);
Expand description
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.
Implementations§
source§impl Record
impl Record
sourcepub fn keep(self)
pub fn keep(self)
Keep record alive for as long as the underlying
Registration
or
Connection
lives
Auto Trait Implementations§
impl Freeze for Record
impl !RefUnwindSafe for Record
impl Send for Record
impl !Sync for Record
impl Unpin for Record
impl !UnwindSafe for Record
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more