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