pub struct DataBytes(pub [u8; 512]);
Expand description
A wrapper around the data that is to be sent in a TFTP DATA packet so that the data can be cloned and compared for equality.
Tuple Fields§
§0: [u8; 512]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataBytes
impl RefUnwindSafe for DataBytes
impl Send for DataBytes
impl Sync for DataBytes
impl Unpin for DataBytes
impl UnwindSafe for DataBytes
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