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