#[repr(C)]pub enum PduErrorEvt {
NoError = 0,
FrameStruct = 256,
TxError = 257,
TesterPresentError = 258,
RscLocked = 265,
RxTimeout = 259,
RxError = 260,
ProtErr = 261,
LostCommToVCI = 262,
VCIHardwareFault = 263,
InitError = 264,
}
Expand description
Function error events (Used in asynchronous situations)
Variants§
NoError = 0
No error
FrameStruct = 256
Structure of the received data frame was incorrect
TxError = 257
Transmit error
TesterPresentError = 258
Tester present transmit error or ECU responded negatively to the request
RscLocked = 265
ComParam could not be set as resource was locked
RxTimeout = 259
Receive message timeout
RxError = 260
Receive message error at a protocol level
ProtErr = 261
ComPrimitive error by protocol
LostCommToVCI = 262
Communication to MVCI module was lost
VCIHardwareFault = 263
MVCI hardware fault
InitError = 264
Protocol initialization error
Trait Implementations§
Source§impl Clone for PduErrorEvt
impl Clone for PduErrorEvt
Source§fn clone(&self) -> PduErrorEvt
fn clone(&self) -> PduErrorEvt
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 PduErrorEvt
impl Debug for PduErrorEvt
Source§impl Ord for PduErrorEvt
impl Ord for PduErrorEvt
Source§fn cmp(&self, other: &PduErrorEvt) -> Ordering
fn cmp(&self, other: &PduErrorEvt) -> 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 PduErrorEvt
impl PartialEq for PduErrorEvt
Source§impl PartialOrd for PduErrorEvt
impl PartialOrd for PduErrorEvt
impl Copy for PduErrorEvt
impl Eq for PduErrorEvt
impl StructuralPartialEq for PduErrorEvt
Auto Trait Implementations§
impl Freeze for PduErrorEvt
impl RefUnwindSafe for PduErrorEvt
impl Send for PduErrorEvt
impl Sync for PduErrorEvt
impl Unpin for PduErrorEvt
impl UnwindSafe for PduErrorEvt
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