#[repr(u8)]pub enum NegativeResponseCode {
Show 60 variants
PositiveResponse = 0,
GeneralReject = 1,
ServiceNotSupported = 2,
SubFunctionNotSupported = 3,
IncorrectMessageLengthOrInvalidFormat = 4,
ReponseTooLong = 5,
BusyRepeatRequest = 6,
ConditionsNotCorrect = 7,
RequestSequenceError = 8,
NoResponseFromSubnetComponent = 9,
FailurePreventsExecutionOfRequestedAction = 10,
RequestOutOfRange = 11,
SecurityAccessDenied = 12,
AuthenticationRequired = 13,
InvalidKey = 14,
ExceedNumberOfAttempts = 15,
RequiredTimeDelayNotExpired = 16,
SecureDataTransmissionRequired = 17,
SecureDataTransmissionNotAllowed = 18,
SecureDataVerificationFailed = 19,
CertificateVerificationFailedInvalidTimePeriod = 20,
CertificateVerificationFailedInvalidSignature = 21,
CertificateVerificationFailedInvalidChainOfTrust = 22,
CertificateVerificationFailedInvalidType = 23,
CertificateVerificationFailedInvalidFormat = 24,
CertificateVerificationFailedInvalidContent = 25,
CertificateVerificationFailedInvalidScope = 26,
CertificateVerificationFailedInvalidCertificateRevoked = 27,
OwnershipVerificationFailed = 28,
ChallengeCalculationFailed = 29,
SettingAccessRightsFailed = 30,
SessionKeyCreationDerivationFailed = 31,
ConfigurationDataUsageFailed = 32,
DeAuthenticationFailed = 33,
UploadDownloadNotAccepted = 34,
TransferDataSuspended = 35,
GeneralProgrammingFailure = 36,
WrongBlockSequenceCounter = 37,
RequestCorrectlyReceivedResponsePending = 38,
SubFunctionNotSupportedInActiveSession = 39,
ServiceNotSupportedInActiveSession = 40,
RPMTooHigh = 41,
RPMTooLow = 42,
EngineIsRunning = 43,
EngineIsNotRunning = 44,
EngineRunTimeTooLow = 45,
TemperatureTooHigh = 46,
TemperatureTooLow = 47,
VehicleSpeedTooHigh = 48,
VehicleSpeedTooLow = 49,
ThrottlePedalTooHigh = 50,
ThrottlePedalTooLow = 51,
TransmissionRangeNotInNeutral = 52,
TransmissionRangeNotInGear = 53,
BrakeSwitchesNotClosed = 54,
ShifterLeverNotInPark = 55,
TorqueConverterClutchLocked = 56,
VoltageTooHigh = 57,
VoltageTooLow = 58,
ResourceTemporarilyNotAvailable = 59,
}Variants§
PositiveResponse = 0
GeneralReject = 1
ServiceNotSupported = 2
SubFunctionNotSupported = 3
IncorrectMessageLengthOrInvalidFormat = 4
ReponseTooLong = 5
BusyRepeatRequest = 6
ConditionsNotCorrect = 7
RequestSequenceError = 8
NoResponseFromSubnetComponent = 9
FailurePreventsExecutionOfRequestedAction = 10
RequestOutOfRange = 11
SecurityAccessDenied = 12
AuthenticationRequired = 13
InvalidKey = 14
ExceedNumberOfAttempts = 15
RequiredTimeDelayNotExpired = 16
SecureDataTransmissionRequired = 17
SecureDataTransmissionNotAllowed = 18
SecureDataVerificationFailed = 19
CertificateVerificationFailedInvalidTimePeriod = 20
CertificateVerificationFailedInvalidSignature = 21
CertificateVerificationFailedInvalidChainOfTrust = 22
CertificateVerificationFailedInvalidType = 23
CertificateVerificationFailedInvalidFormat = 24
CertificateVerificationFailedInvalidContent = 25
CertificateVerificationFailedInvalidScope = 26
CertificateVerificationFailedInvalidCertificateRevoked = 27
OwnershipVerificationFailed = 28
ChallengeCalculationFailed = 29
SettingAccessRightsFailed = 30
SessionKeyCreationDerivationFailed = 31
ConfigurationDataUsageFailed = 32
DeAuthenticationFailed = 33
UploadDownloadNotAccepted = 34
TransferDataSuspended = 35
GeneralProgrammingFailure = 36
WrongBlockSequenceCounter = 37
RequestCorrectlyReceivedResponsePending = 38
SubFunctionNotSupportedInActiveSession = 39
ServiceNotSupportedInActiveSession = 40
RPMTooHigh = 41
RPMTooLow = 42
EngineIsRunning = 43
EngineIsNotRunning = 44
EngineRunTimeTooLow = 45
TemperatureTooHigh = 46
TemperatureTooLow = 47
VehicleSpeedTooHigh = 48
VehicleSpeedTooLow = 49
ThrottlePedalTooHigh = 50
ThrottlePedalTooLow = 51
TransmissionRangeNotInNeutral = 52
TransmissionRangeNotInGear = 53
BrakeSwitchesNotClosed = 54
ShifterLeverNotInPark = 55
TorqueConverterClutchLocked = 56
VoltageTooHigh = 57
VoltageTooLow = 58
ResourceTemporarilyNotAvailable = 59
Trait Implementations§
Source§impl Clone for NegativeResponseCode
impl Clone for NegativeResponseCode
Source§fn clone(&self) -> NegativeResponseCode
fn clone(&self) -> NegativeResponseCode
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 NegativeResponseCode
impl Debug for NegativeResponseCode
Source§impl FrameRead<'_> for NegativeResponseCode
impl FrameRead<'_> for NegativeResponseCode
Source§impl FrameWrite for NegativeResponseCode
impl FrameWrite for NegativeResponseCode
Source§impl Ord for NegativeResponseCode
impl Ord for NegativeResponseCode
Source§fn cmp(&self, other: &NegativeResponseCode) -> Ordering
fn cmp(&self, other: &NegativeResponseCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NegativeResponseCode
impl PartialEq for NegativeResponseCode
Source§impl PartialOrd for NegativeResponseCode
impl PartialOrd for NegativeResponseCode
impl Eq for NegativeResponseCode
impl StructuralPartialEq for NegativeResponseCode
Auto Trait Implementations§
impl Freeze for NegativeResponseCode
impl RefUnwindSafe for NegativeResponseCode
impl Send for NegativeResponseCode
impl Sync for NegativeResponseCode
impl Unpin for NegativeResponseCode
impl UnsafeUnpin for NegativeResponseCode
impl UnwindSafe for NegativeResponseCode
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