pub enum MessageId {
Standard(u16),
Extended(u32),
}
Expand description
CAN id in header of CAN frame. Must be unique in DBC file.
Variants§
Standard(u16)
Extended(u32)
29 bit extended identifier without the extended bit.
For the raw value of the message id including the bit for extended identifiers use the raw()
method.
Implementations§
Trait Implementations§
source§impl PartialEq for MessageId
impl PartialEq for MessageId
impl Copy for MessageId
impl StructuralPartialEq for MessageId
Auto Trait Implementations§
impl RefUnwindSafe for MessageId
impl Send for MessageId
impl Sync for MessageId
impl Unpin for MessageId
impl UnwindSafe for MessageId
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