#[repr(u8)]pub enum ServiceIdentifier {
Show 28 variants
DiagnosticSessionControl = 16,
EcuReset = 17,
SecurityAccess = 39,
CommunicationControl = 40,
Authentication = 41,
TesterPresent = 62,
AccessTimingParameters = 131,
SecuredDataTransmission = 132,
ControlDtcSettings = 133,
ResponseOnEvent = 134,
LinkControl = 135,
ReadDataByIdentifier = 34,
ReadMemoryByAddress = 35,
ReadScalingDataByIdentifier = 36,
ReadDataByPeriodicIdentifier = 42,
DynamicallyDefineDataIdentifier = 44,
WriteDataByIdentifier = 46,
WriteMemoryByAddress = 61,
ClearDiagnosticInformation = 20,
ReadDtcInformation = 25,
InputOutputControlByIdentifier = 47,
RoutineControl = 49,
RequestDownload = 52,
RequestUpload = 53,
TransferData = 54,
RequestTransferExit = 55,
RequestFileTransfer = 56,
NegativeResponse = 127,
}Expand description
Used for defining request Service Identifiers (SIDs)
Variants§
DiagnosticSessionControl = 16
EcuReset = 17
SecurityAccess = 39
CommunicationControl = 40
Authentication = 41
TesterPresent = 62
AccessTimingParameters = 131
SecuredDataTransmission = 132
ControlDtcSettings = 133
ResponseOnEvent = 134
LinkControl = 135
ReadDataByIdentifier = 34
ReadMemoryByAddress = 35
ReadScalingDataByIdentifier = 36
ReadDataByPeriodicIdentifier = 42
DynamicallyDefineDataIdentifier = 44
WriteDataByIdentifier = 46
WriteMemoryByAddress = 61
ClearDiagnosticInformation = 20
ReadDtcInformation = 25
InputOutputControlByIdentifier = 47
RoutineControl = 49
RequestDownload = 52
RequestUpload = 53
TransferData = 54
RequestTransferExit = 55
RequestFileTransfer = 56
NegativeResponse = 127
Trait Implementations§
Source§impl Clone for ServiceIdentifier
impl Clone for ServiceIdentifier
Source§fn clone(&self) -> ServiceIdentifier
fn clone(&self) -> ServiceIdentifier
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 ServiceIdentifier
impl Debug for ServiceIdentifier
Source§impl From<ServiceIdentifier> for u8
impl From<ServiceIdentifier> for u8
Source§fn from(enum_value: ServiceIdentifier) -> Self
fn from(enum_value: ServiceIdentifier) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServiceIdentifier
impl PartialEq for ServiceIdentifier
Source§impl TryFrom<u8> for ServiceIdentifier
impl TryFrom<u8> for ServiceIdentifier
Source§type Error = TryFromPrimitiveError<ServiceIdentifier>
type Error = TryFromPrimitiveError<ServiceIdentifier>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ServiceIdentifier
impl TryFromPrimitive for ServiceIdentifier
const NAME: &'static str = "ServiceIdentifier"
type Primitive = u8
type Error = TryFromPrimitiveError<ServiceIdentifier>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ServiceIdentifier
impl Eq for ServiceIdentifier
impl StructuralPartialEq for ServiceIdentifier
Auto Trait Implementations§
impl Freeze for ServiceIdentifier
impl RefUnwindSafe for ServiceIdentifier
impl Send for ServiceIdentifier
impl Sync for ServiceIdentifier
impl Unpin for ServiceIdentifier
impl UnwindSafe for ServiceIdentifier
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