pub struct CanErrorFrameExt {
pub header: ObjectHeader,
pub channel: u16,
pub length: u16,
pub flags: u32,
pub ecc: u8,
pub position: u8,
pub dlc: u8,
pub frame_length_ns: u32,
pub id: u32,
pub flags_ext: u16,
pub data: [u8; 8],
/* private fields */
}Fields§
§header: ObjectHeader§channel: u16§length: u16§flags: u32§ecc: u8§position: u8§dlc: u8§frame_length_ns: u32§id: u32§flags_ext: u16§data: [u8; 8]Trait Implementations§
Source§impl BinRead for CanErrorFrameExt
impl BinRead for CanErrorFrameExt
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for CanErrorFrameExt
impl Debug for CanErrorFrameExt
Source§impl ReadEndian for CanErrorFrameExt
impl ReadEndian for CanErrorFrameExt
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Auto Trait Implementations§
impl Freeze for CanErrorFrameExt
impl RefUnwindSafe for CanErrorFrameExt
impl Send for CanErrorFrameExt
impl Sync for CanErrorFrameExt
impl Unpin for CanErrorFrameExt
impl UnwindSafe for CanErrorFrameExt
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