pub struct RecordDataSOA { /* private fields */ }Implementations§
Source§impl RecordDataSOA
impl RecordDataSOA
pub fn new( mname: Name, rname: Name, serial: u32, refresh: u32, retry: u32, expire: u32, minimum: u32, ) -> Self
pub fn mname(&self) -> &Name
pub fn rname(&self) -> &Name
pub fn serial(&self) -> u32
pub fn refresh(&self) -> u32
pub fn retry(&self) -> u32
pub fn expire(&self) -> u32
pub fn minimum(&self) -> u32
pub fn size(&self) -> usize
pub fn write_network_bytes<T>(&self, buf: T) -> Result<(), MtopError>where
T: WriteBytesExt,
pub fn read_network_bytes<T>(buf: T) -> Result<Self, MtopError>where
T: ReadBytesExt + Seek,
Trait Implementations§
Source§impl Clone for RecordDataSOA
impl Clone for RecordDataSOA
Source§fn clone(&self) -> RecordDataSOA
fn clone(&self) -> RecordDataSOA
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordDataSOA
impl Debug for RecordDataSOA
Source§impl Display for RecordDataSOA
impl Display for RecordDataSOA
Source§impl PartialEq for RecordDataSOA
impl PartialEq for RecordDataSOA
impl Eq for RecordDataSOA
impl StructuralPartialEq for RecordDataSOA
Auto Trait Implementations§
impl Freeze for RecordDataSOA
impl RefUnwindSafe for RecordDataSOA
impl Send for RecordDataSOA
impl Sync for RecordDataSOA
impl Unpin for RecordDataSOA
impl UnwindSafe for RecordDataSOA
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