Struct tinkerforge::can_bricklet::ReadFrame
source · pub struct ReadFrame {
pub success: bool,
pub frame_type: u8,
pub identifier: u32,
pub data: [u8; 8],
pub length: u8,
}
Fields
success: bool
frame_type: u8
identifier: u32
data: [u8; 8]
length: u8
Trait Implementations
sourceimpl FromByteSlice for ReadFrame
impl FromByteSlice for ReadFrame
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]) -> ReadFrame
fn from_le_bytes(bytes: &[u8]) -> ReadFrame
Deserialize the implementing type from a byte slice.
impl Copy for ReadFrame
impl Eq for ReadFrame
impl StructuralEq for ReadFrame
impl StructuralPartialEq 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
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