pub struct Envelope {
pub ts: Timestamp,
pub frame: Frame,
}
Expand description
Contains CAN frame and additional metadata.
Timestamp is available if time
feature is enabled.
For CAN-FD support use FdEnvelope
Fields§
§ts: Timestamp
Reception time.
frame: Frame
The actual CAN frame.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnwindSafe for Envelope
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