pub enum Id {
Standard(StandardId),
Extended(ExtendedId),
}Expand description
A CAN identifier (standard 11-bit or extended 29-bit).
Many embedded CAN HALs want to stay no_std and avoid allocating or storing extra metadata.
This enum is a lightweight wrapper around the ID types provided by embedded_can.
Variants§
Trait Implementations§
impl Copy for Id
impl Eq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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