#[non_exhaustive]pub enum NegativeResponse {
Show 13 variants
GeneralReject,
ServiceNotSupported,
SubFunctionNotSupported,
IncorrectMessageLength,
ResponseTooLong,
ConditionsNotCorrect,
RequestOutOfRange,
SecurityAccessDenied,
InvalidKey,
ExceededAttempts,
TimeDelayNotExpired,
GeneralProgrammingFailure,
ResponsePending,
}Expand description
OBD-II / UDS Negative Response Code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GeneralReject
0x10
ServiceNotSupported
0x11
SubFunctionNotSupported
0x12
IncorrectMessageLength
0x13
ResponseTooLong
0x14
ConditionsNotCorrect
0x22
RequestOutOfRange
0x31
SecurityAccessDenied
0x33
InvalidKey
0x35
ExceededAttempts
0x36
TimeDelayNotExpired
0x37
GeneralProgrammingFailure
0x72
ResponsePending
0x78
Implementations§
Trait Implementations§
Source§impl Clone for NegativeResponse
impl Clone for NegativeResponse
Source§fn clone(&self) -> NegativeResponse
fn clone(&self) -> NegativeResponse
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 NegativeResponse
impl Debug for NegativeResponse
Source§impl Display for NegativeResponse
impl Display for NegativeResponse
Source§impl PartialEq for NegativeResponse
impl PartialEq for NegativeResponse
impl Copy for NegativeResponse
impl Eq for NegativeResponse
impl StructuralPartialEq for NegativeResponse
Auto Trait Implementations§
impl Freeze for NegativeResponse
impl RefUnwindSafe for NegativeResponse
impl Send for NegativeResponse
impl Sync for NegativeResponse
impl Unpin for NegativeResponse
impl UnsafeUnpin for NegativeResponse
impl UnwindSafe for NegativeResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.