#[repr(u8)]pub enum Code {
Show 62 variants
Positive = 0,
GeneralReject = 16,
ServiceNotSupported = 17,
SubFunctionNotSupported = 18,
IncorrectMessageLengthOrInvalidFormat = 19,
ResponseTooLong = 20,
BusyRepeatRequest = 33,
ConditionsNotCorrect = 34,
RequestSequenceError = 36,
NoResponseFromSubnetComponent = 37,
FailurePreventsExecutionOfRequestedAction = 38,
RequestOutOfRange = 49,
SecurityAccessDenied = 51,
AuthenticationRequired = 52,
InvalidKey = 53,
ExceedNumberOfAttempts = 54,
RequiredTimeDelayNotExpired = 55,
SecureDataTransmissionRequired = 56,
SecureDataTransmissionNotAllowed = 57,
SecureDataVerificationFailed = 58,
CertificateVerificationFailedInvalidTimePeriod = 80,
CertificateVerificationFailedInvalidSignature = 81,
CertificateVerificationFailedInvalidChainOfTrust = 82,
CertificateVerificationFailedInvalidType = 83,
CertificateVerificationFailedInvalidFormat = 84,
CertificateVerificationFailedInvalidContent = 85,
CertificateVerificationFailedInvalidScope = 86,
CertificateVerificationFailedInvalidCertificate = 87,
OwnershipVerificationFailed = 88,
ChallengeCalculationFailed = 89,
SettingAccessRightsFailed = 90,
SessionKeyCreationDerivationFailed = 91,
ConfigurationDataUsageFailed = 92,
DeAuthenticationFailed = 93,
UploadDownloadNotAccepted = 112,
TransferDataSuspended = 113,
GeneralProgrammingFailure = 114,
WrongBlockSequenceCounter = 115,
RequestCorrectlyReceivedResponsePending = 120,
SubFunctionNotSupportedInActiveSession = 126,
ServiceNotSupportedInActiveSession = 127,
RpmTooHigh = 129,
RpmTooLow = 130,
EngineIsRunning = 131,
EngineIsNotRunning = 132,
EngineRunTimeTooLow = 133,
TemperatureTooHigh = 134,
TemperatureTooLow = 135,
VehicleSpeedTooHigh = 136,
VehicleSpeedTooLow = 137,
ThrottlePedalTooHigh = 138,
ThrottlePedalTooLow = 139,
TransmissionRangeNotInNeutral = 140,
TransmissionRangeNotInGear = 141,
BrakeSwitchNotClosed = 143,
ShifterLeverNotInPark = 144,
TorqueConverterClutchLocked = 145,
VoltageTooHigh = 146,
VoltageTooLow = 147,
ResourceTemporarilyNotAvailable = 148,
VehicleManufacturerSpecific(u8),
Reserved(u8),
}Variants§
Positive = 0
GeneralReject = 16
ServiceNotSupported = 17
SubFunctionNotSupported = 18
IncorrectMessageLengthOrInvalidFormat = 19
ResponseTooLong = 20
BusyRepeatRequest = 33
ConditionsNotCorrect = 34
RequestSequenceError = 36
NoResponseFromSubnetComponent = 37
FailurePreventsExecutionOfRequestedAction = 38
RequestOutOfRange = 49
SecurityAccessDenied = 51
AuthenticationRequired = 52
InvalidKey = 53
ExceedNumberOfAttempts = 54
RequiredTimeDelayNotExpired = 55
SecureDataTransmissionRequired = 56
SecureDataTransmissionNotAllowed = 57
SecureDataVerificationFailed = 58
CertificateVerificationFailedInvalidTimePeriod = 80
CertificateVerificationFailedInvalidSignature = 81
CertificateVerificationFailedInvalidChainOfTrust = 82
CertificateVerificationFailedInvalidType = 83
CertificateVerificationFailedInvalidFormat = 84
CertificateVerificationFailedInvalidContent = 85
CertificateVerificationFailedInvalidScope = 86
CertificateVerificationFailedInvalidCertificate = 87
OwnershipVerificationFailed = 88
ChallengeCalculationFailed = 89
SettingAccessRightsFailed = 90
SessionKeyCreationDerivationFailed = 91
ConfigurationDataUsageFailed = 92
DeAuthenticationFailed = 93
UploadDownloadNotAccepted = 112
TransferDataSuspended = 113
GeneralProgrammingFailure = 114
WrongBlockSequenceCounter = 115
RequestCorrectlyReceivedResponsePending = 120
SubFunctionNotSupportedInActiveSession = 126
ServiceNotSupportedInActiveSession = 127
RpmTooHigh = 129
RpmTooLow = 130
EngineIsRunning = 131
EngineIsNotRunning = 132
EngineRunTimeTooLow = 133
TemperatureTooHigh = 134
TemperatureTooLow = 135
VehicleSpeedTooHigh = 136
VehicleSpeedTooLow = 137
ThrottlePedalTooHigh = 138
ThrottlePedalTooLow = 139
TransmissionRangeNotInNeutral = 140
TransmissionRangeNotInGear = 141
BrakeSwitchNotClosed = 143
ShifterLeverNotInPark = 144
TorqueConverterClutchLocked = 145
VoltageTooHigh = 146
VoltageTooLow = 147
ResourceTemporarilyNotAvailable = 148
VehicleManufacturerSpecific(u8)
Reserved(u8)
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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