pub enum CanFrameType {
Can20,
CanFd,
Any,
}
Expand description
The type of a CAN frame
Variants§
Can20
CAN 2.0 frame (max 8 bytes)
CanFd
CAN FD frame (max 64 bytes, transmitted at the CanFD
baud rate)
Any
Any CAN frame
Trait Implementations§
Source§impl Clone for CanFrameType
impl Clone for CanFrameType
Source§fn clone(&self) -> CanFrameType
fn clone(&self) -> CanFrameType
Returns a duplicate 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 CanFrameType
impl Debug for CanFrameType
Source§impl From<CanFrameType> for EnumItem
impl From<CanFrameType> for EnumItem
Source§fn from(value: CanFrameType) -> Self
fn from(value: CanFrameType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CanFrameType
impl PartialEq for CanFrameType
Source§impl TryFrom<EnumItem> for CanFrameType
impl TryFrom<EnumItem> for CanFrameType
impl Copy for CanFrameType
impl Eq for CanFrameType
impl StructuralPartialEq for CanFrameType
Auto Trait Implementations§
impl Freeze for CanFrameType
impl RefUnwindSafe for CanFrameType
impl Send for CanFrameType
impl Sync for CanFrameType
impl Unpin for CanFrameType
impl UnwindSafe for CanFrameType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.