Struct tinkerforge::rs232_v2_bricklet::ReadLowLevelEvent
source · pub struct ReadLowLevelEvent {
pub message_length: u16,
pub message_chunk_offset: u16,
pub message_chunk_data: [char; 60],
}
Fields§
§message_length: u16
§message_chunk_offset: u16
§message_chunk_data: [char; 60]
Trait Implementations§
source§impl Clone for ReadLowLevelEvent
impl Clone for ReadLowLevelEvent
source§fn clone(&self) -> ReadLowLevelEvent
fn clone(&self) -> ReadLowLevelEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl FromByteSlice for ReadLowLevelEvent
impl FromByteSlice for ReadLowLevelEvent
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]) -> ReadLowLevelEvent
fn from_le_byte_slice(bytes: &[u8]) -> ReadLowLevelEvent
Deserialize the implementing type from a byte slice.
source§impl LowLevelRead<char, ReadResult> for ReadLowLevelEvent
impl LowLevelRead<char, ReadResult> for ReadLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[char]
fn get_result(&self) -> ReadResult
impl Copy for ReadLowLevelEvent
Auto Trait Implementations§
impl RefUnwindSafe for ReadLowLevelEvent
impl Send for ReadLowLevelEvent
impl Sync for ReadLowLevelEvent
impl Unpin for ReadLowLevelEvent
impl UnwindSafe for ReadLowLevelEvent
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