pub enum CanAnyFrame {
Normal(can_frame),
Remote(can_frame),
Error(can_frame),
Fd(canfd_frame),
Xl(canxl_frame),
}
Variants§
Implementations§
Trait Implementations§
Source§impl From<CanAnyFrame> for CanMessage
impl From<CanAnyFrame> for CanMessage
Source§fn from(frame: CanAnyFrame) -> Self
fn from(frame: CanAnyFrame) -> Self
Converts to this type from the input type.
Source§impl From<can_frame> for CanAnyFrame
impl From<can_frame> for CanAnyFrame
Source§fn from(frame: can_frame) -> CanAnyFrame
fn from(frame: can_frame) -> CanAnyFrame
Converts to this type from the input type.
Source§impl From<canfd_frame> for CanAnyFrame
impl From<canfd_frame> for CanAnyFrame
Source§fn from(frame: canfd_frame) -> Self
fn from(frame: canfd_frame) -> Self
Converts to this type from the input type.
Source§impl From<canxl_frame> for CanAnyFrame
impl From<canxl_frame> for CanAnyFrame
Source§fn from(frame: canxl_frame) -> Self
fn from(frame: canxl_frame) -> Self
Converts to this type from the input type.
Source§impl Into<CanAnyFrame> for CanMessage
impl Into<CanAnyFrame> for CanMessage
Source§fn into(self) -> CanAnyFrame
fn into(self) -> CanAnyFrame
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for CanAnyFrame
impl RefUnwindSafe for CanAnyFrame
impl Send for CanAnyFrame
impl Sync for CanAnyFrame
impl Unpin for CanAnyFrame
impl UnwindSafe for CanAnyFrame
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