Struct tinkerforge::red_brick::ReadFile
source · pub struct ReadFile {
pub error_code: u8,
pub buffer: [u8; 62],
pub length_read: u8,
}
Fields§
§error_code: u8
§buffer: [u8; 62]
§length_read: u8
Trait Implementations§
source§impl FromByteSlice for ReadFile
impl FromByteSlice for ReadFile
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]) -> ReadFile
fn from_le_byte_slice(bytes: &[u8]) -> ReadFile
Deserialize the implementing type from a byte slice.
impl Copy for ReadFile
Auto Trait Implementations§
impl RefUnwindSafe for ReadFile
impl Send for ReadFile
impl Sync for ReadFile
impl Unpin for ReadFile
impl UnwindSafe for ReadFile
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