Struct fdcanusb::FdCanUSBFrame
source · pub struct FdCanUSBFrame(/* private fields */);Expand description
The FdCanUSB communicates over Serial using ascii encoded frames.
FdCanUSBFrame is a wrapper around the ascii encoded frames.
They can be converted to and from CanFdFrame
Implementations§
Trait Implementations§
source§impl Debug for FdCanUSBFrame
impl Debug for FdCanUSBFrame
source§impl From<&str> for FdCanUSBFrame
impl From<&str> for FdCanUSBFrame
source§fn from(data: &str) -> FdCanUSBFrame
fn from(data: &str) -> FdCanUSBFrame
Create a FdCanUSBFrame from a string.
No validation is performed to check if it is a valid frame.
The frame will be validated when converting to a CanFdFrame
source§impl From<CanFdFrame> for FdCanUSBFrame
impl From<CanFdFrame> for FdCanUSBFrame
source§fn from(frame: CanFdFrame) -> FdCanUSBFrame
fn from(frame: CanFdFrame) -> FdCanUSBFrame
Converts to this type from the input type.
source§impl TryFrom<FdCanUSBFrame> for CanFdFrame
impl TryFrom<FdCanUSBFrame> for CanFdFrame
Auto Trait Implementations§
impl Freeze for FdCanUSBFrame
impl RefUnwindSafe for FdCanUSBFrame
impl Send for FdCanUSBFrame
impl Sync for FdCanUSBFrame
impl Unpin for FdCanUSBFrame
impl UnwindSafe for FdCanUSBFrame
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