pub struct Read {
pub data: u8,
pub status: u8,
}
Fields§
§data: u8
§status: u8
Trait Implementations§
Source§impl FromByteSlice for Read
impl FromByteSlice for Read
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> Read
fn from_le_byte_slice(bytes: &[u8]) -> Read
Deserialize the implementing type from a byte slice.
impl Copy for Read
impl Eq for Read
impl StructuralPartialEq for Read
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnwindSafe for Read
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