Struct embassy_stm32::can::frame::Envelope
source ยท 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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)