pub struct RecordDataA(/* private fields */);Implementations§
Source§impl RecordDataA
impl RecordDataA
pub fn new(addr: Ipv4Addr) -> Self
pub fn addr(&self) -> Ipv4Addr
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 RecordDataA
impl Clone for RecordDataA
Source§fn clone(&self) -> RecordDataA
fn clone(&self) -> RecordDataA
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 RecordDataA
impl Debug for RecordDataA
Source§impl Display for RecordDataA
impl Display for RecordDataA
Source§impl PartialEq for RecordDataA
impl PartialEq for RecordDataA
impl Eq for RecordDataA
impl StructuralPartialEq for RecordDataA
Auto Trait Implementations§
impl Freeze for RecordDataA
impl RefUnwindSafe for RecordDataA
impl Send for RecordDataA
impl Sync for RecordDataA
impl Unpin for RecordDataA
impl UnwindSafe for RecordDataA
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