pub struct CandumpFrame {
pub timestamp: Duration,
pub interface: String,
pub id: u32,
pub data: Vec<u8>,
}Expand description
The Linux candump file format frame.
§Example
Input:
(0000000000.000000) vcan0 211#616C75653A353131
(0000000000.000000) vcan0 212#0D0A4104Fields§
§timestamp: Duration§interface: String§id: u32§data: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CandumpFrame
impl RefUnwindSafe for CandumpFrame
impl Send for CandumpFrame
impl Sync for CandumpFrame
impl Unpin for CandumpFrame
impl UnwindSafe for CandumpFrame
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