Struct async_dnssd::Record
source · [−]pub struct Record(_);
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
sourceimpl 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 !RefUnwindSafe for Record
impl Send for Record
impl !Sync for Record
impl Unpin for Record
impl !UnwindSafe for Record
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more