#[repr(u8)]pub enum SessionType {
Default = 1,
Programming = 2,
Extended = 3,
SafetySystemDiagnostic = 4,
VehicleManufacturerSpecific(u8),
SystemSupplierSpecific(u8),
Reserved(u8),
}Variants§
Default = 1
Programming = 2
Extended = 3
SafetySystemDiagnostic = 4
VehicleManufacturerSpecific(u8)
SystemSupplierSpecific(u8)
Reserved(u8)
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
Source§fn clone(&self) -> SessionType
fn clone(&self) -> SessionType
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 SessionType
impl Debug for SessionType
Source§impl Default for SessionType
impl Default for SessionType
Source§fn default() -> SessionType
fn default() -> SessionType
Returns the “default value” for a type. Read more
Source§impl Into<u8> for SessionType
impl Into<u8> for SessionType
Source§impl PartialEq for SessionType
impl PartialEq for SessionType
Source§impl TryFrom<u8> for SessionType
impl TryFrom<u8> for SessionType
impl Copy for SessionType
impl Eq for SessionType
impl StructuralPartialEq for SessionType
Auto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
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