#[repr(u8)]pub enum Identifier {
LINProductIdentification,
SerialNumber,
UserDefined(u8),
Reserved(u8),
}Expand description
Identifiers used for the Read by identifer
Variants§
LINProductIdentification
See also ProductId
SerialNumber
See also SerialNumber
UserDefined(u8)
User defined range 32..=63
Reserved(u8)
Reserved range 2..=31 and 64..=255
Trait Implementations§
Source§impl From<Identifier> for u8
impl From<Identifier> for u8
Source§fn from(identifier: Identifier) -> u8
fn from(identifier: Identifier) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Identifier
impl From<u8> for Identifier
Source§fn from(byte: u8) -> Identifier
fn from(byte: u8) -> Identifier
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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