pub struct CanFrame {
pub arb_id: u32,
pub extended: bool,
pub data: Vec<u8>,
}Expand description
A raw CAN frame (11-bit or 29-bit arbitration ID, up to 8 bytes data).
Fields§
§arb_id: u32§extended: bool§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CanFrame
impl<'de> Deserialize<'de> for CanFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CanFrame
impl RefUnwindSafe for CanFrame
impl Send for CanFrame
impl Sync for CanFrame
impl Unpin for CanFrame
impl UnsafeUnpin for CanFrame
impl UnwindSafe for CanFrame
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