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