pub enum Id {
    Standard(StandardId),
    Extended(ExtendedId),
}Expand description
A TWAI Identifier (standard or extended).
Variants§
Standard(StandardId)
Standard 11-bit Identifier (0..=0x7FF).
Extended(ExtendedId)
Extended 29-bit Identifier (0..=0x1FFF_FFFF).
Trait Implementations§
Source§impl From<ExtendedId> for Id
Available on crate feature unstable only. 
impl From<ExtendedId> for Id
Available on crate feature 
unstable only.Source§fn from(id: ExtendedId) -> Self
 
fn from(id: ExtendedId) -> Self
Converts to this type from the input type.
Source§impl From<Id> for Id
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
 
impl From<Id> for Id
Available on crate feature 
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§impl From<Id> for Id
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
 
impl From<Id> for Id
Available on crate feature 
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§impl From<StandardId> for Id
Available on crate feature unstable only. 
impl From<StandardId> for Id
Available on crate feature 
unstable only.Source§fn from(id: StandardId) -> Self
 
fn from(id: StandardId) -> Self
Converts to this type from the input type.
impl Copy for Id
Available on crate feature 
unstable only.impl Eq for Id
Available on crate feature 
unstable only.impl StructuralPartialEq for Id
Available on crate feature 
unstable only.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§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)