pub struct Record(/* private fields */);Expand description
A successful record registration
Releases the record when dropped (unless it is a
[RegistrationHandle::get_default_txt_record][crate::RegistrationHandle::method.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