pub struct DsRRData { /* private fields */ }Implementations§
Trait Implementations§
Source§impl RRData for DsRRData
impl RRData for DsRRData
fn from_bytes(buf: &[u8], off: usize) -> Result<Self, RRDataError>
fn to_bytes_compressed( &self, _compression_data: &mut HashMap<String, usize>, _off: usize, ) -> Result<Vec<u8>, RRDataError>
fn to_bytes(&self) -> Result<Vec<u8>, RRDataError>
fn get_type(&self) -> RRTypes
fn upcast(self) -> Box<dyn RRData>
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn clone_box(&self) -> Box<dyn RRData>
Auto Trait Implementations§
impl Freeze for DsRRData
impl RefUnwindSafe for DsRRData
impl Send for DsRRData
impl Sync for DsRRData
impl Unpin for DsRRData
impl UnsafeUnpin for DsRRData
impl UnwindSafe for DsRRData
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