pub enum DiagServerRx {
EcuResponse(Vec<u8>),
EcuError {
b: u8,
desc: String,
},
EcuBusy,
SendState {
p: Vec<u8>,
r: DiagServerResult<()>,
},
RecvError(DiagError),
}
Expand description
Diagnostic server responses
Variants§
EcuResponse(Vec<u8>)
Positive ECU response
EcuError
ECU error
EcuBusy
ECU is busy, please wait
SendState
Fields
§
r: DiagServerResult<()>
The send result of the data transmission
Request message transmit result
RecvError(DiagError)
Receive response error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiagServerRx
impl !RefUnwindSafe for DiagServerRx
impl Send for DiagServerRx
impl Sync for DiagServerRx
impl Unpin for DiagServerRx
impl !UnwindSafe for DiagServerRx
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