#[repr(C)]pub struct BMData {
pub header: BMDataHeader,
pub length: u16,
pub timestamp: u32,
pub payload: [u8; 72],
}Expand description
Busmust data, abstract structure which holds concrete payload messages of various types (i.e. CAN messages).
Fields§
§header: BMDataHeaderData header, see BMDataHeader for details.
length: u16Length in bytes of the payload only (header excluded).
timestamp: u3232-bit device local high precision timestamp in microseconds.
payload: [u8; 72]Buffer holding concrete message payload (i.e. a CAN message in BMCanMessage format).
Implementations§
Auto Trait Implementations§
impl Freeze for BMData
impl RefUnwindSafe for BMData
impl Send for BMData
impl Sync for BMData
impl Unpin for BMData
impl UnwindSafe for BMData
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