pub struct FdEnvelope {
pub ts: Timestamp,
pub frame: FdFrame,
}
Expand description
Contains CAN FD frame and additional metadata.
Timestamp is available if time
feature is enabled.
Fields§
§ts: Timestamp
Reception time.
frame: FdFrame
The actual CAN frame.
Implementations§
Trait Implementations§
source§impl Clone for FdEnvelope
impl Clone for FdEnvelope
source§fn clone(&self) -> FdEnvelope
fn clone(&self) -> FdEnvelope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FdEnvelope
impl Debug for FdEnvelope
Auto Trait Implementations§
impl Freeze for FdEnvelope
impl RefUnwindSafe for FdEnvelope
impl Send for FdEnvelope
impl Sync for FdEnvelope
impl Unpin for FdEnvelope
impl UnwindSafe for FdEnvelope
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
)