pub struct NameRecord<'a> {
pub record_type: NameRecordType,
pub record_value: &'a [u8],
}
Fields§
§record_type: NameRecordType
§record_value: &'a [u8]
Implementations§
Source§impl NameRecord<'_>
impl NameRecord<'_>
pub const END: NameRecord<'static>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NameRecord<'a>
impl<'a> RefUnwindSafe for NameRecord<'a>
impl<'a> Send for NameRecord<'a>
impl<'a> Sync for NameRecord<'a>
impl<'a> Unpin for NameRecord<'a>
impl<'a> UnwindSafe for NameRecord<'a>
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