Struct embassy_stm32::can::Envelope
source · pub struct Envelope {
pub ts: Instant,
pub frame: Frame,
}
Expand description
Contains CAN frame and additional metadata.
Timestamp is available if time
feature is enabled.
Fields§
§ts: Instant
Reception time.
frame: Frame
The actual CAN frame.
Trait Implementations§
source§impl PartialEq for Envelope
impl PartialEq for Envelope
impl Eq for Envelope
impl StructuralPartialEq for Envelope
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