Struct tinkerforge::can_v2_bricklet::ReadFrameLowLevel
source · pub struct ReadFrameLowLevel {
pub success: bool,
pub frame_type: u8,
pub identifier: u32,
pub data_length: u8,
pub data_data: [u8; 15],
}
Fields
success: bool
frame_type: u8
identifier: u32
data_length: u8
data_data: [u8; 15]
Trait Implementations
sourceimpl Clone for ReadFrameLowLevel
impl Clone for ReadFrameLowLevel
sourcefn clone(&self) -> ReadFrameLowLevel
fn clone(&self) -> ReadFrameLowLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReadFrameLowLevel
impl Debug for ReadFrameLowLevel
sourceimpl Default for ReadFrameLowLevel
impl Default for ReadFrameLowLevel
sourcefn default() -> ReadFrameLowLevel
fn default() -> ReadFrameLowLevel
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ReadFrameLowLevel
impl FromByteSlice for ReadFrameLowLevel
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> ReadFrameLowLevel
fn from_le_bytes(bytes: &[u8]) -> ReadFrameLowLevel
Deserialize the implementing type from a byte slice.
sourceimpl Hash for ReadFrameLowLevel
impl Hash for ReadFrameLowLevel
sourceimpl LowLevelRead<u8, ReadFrameResult> for ReadFrameLowLevel
impl LowLevelRead<u8, ReadFrameResult> for ReadFrameLowLevel
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u8] ⓘ
fn get_result(&self) -> ReadFrameResult
sourceimpl PartialEq<ReadFrameLowLevel> for ReadFrameLowLevel
impl PartialEq<ReadFrameLowLevel> for ReadFrameLowLevel
sourcefn eq(&self, other: &ReadFrameLowLevel) -> bool
fn eq(&self, other: &ReadFrameLowLevel) -> bool
impl Copy for ReadFrameLowLevel
impl Eq for ReadFrameLowLevel
impl StructuralEq for ReadFrameLowLevel
impl StructuralPartialEq for ReadFrameLowLevel
Auto Trait Implementations
impl RefUnwindSafe for ReadFrameLowLevel
impl Send for ReadFrameLowLevel
impl Sync for ReadFrameLowLevel
impl Unpin for ReadFrameLowLevel
impl UnwindSafe for ReadFrameLowLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more