Struct trust_dns_proto::rr::resource::RecordRef
source · pub struct RecordRef<'a, R: RecordData> { /* private fields */ }
Expand description
A Record where the RecordData type is already known
Implementations§
source§impl<'a, R: RecordData> RecordRef<'a, R>
impl<'a, R: RecordData> RecordRef<'a, R>
sourcepub fn record_type(&self) -> RecordType
pub fn record_type(&self) -> RecordType
Returns the type of the RecordData in the record
Trait Implementations§
Auto Trait Implementations§
impl<'a, R> Freeze for RecordRef<'a, R>
impl<'a, R> RefUnwindSafe for RecordRef<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for RecordRef<'a, R>where
R: Sync,
impl<'a, R> Sync for RecordRef<'a, R>where
R: Sync,
impl<'a, R> Unpin for RecordRef<'a, R>
impl<'a, R> UnwindSafe for RecordRef<'a, R>where
R: RefUnwindSafe,
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