#[repr(u16)]pub enum DiagnosticSubfunction {
Show 18 variants
RetQueryData = 0,
RestartCommOpt = 1,
RetDiagReg = 2,
ChangeInputDelimiter = 3,
ForceListenOnlyMode = 4,
ClearCtrDiagReg = 10,
RetBusMsgCount = 11,
RetBusCommErrCount = 12,
RetBusExcErrCount = 13,
RetServerMsgCount = 14,
RetServerNoRespCount = 15,
RetServerNAKCount = 16,
RetServerBusyCount = 17,
RetBusCharOverrunCount = 18,
RetOverrunErrCount = 19,
ClearOverrunCounterFlag = 20,
GetClearPlusStats = 21,
Reserved = 22,
}
Expand description
Subfunction code names as stated in the protocol reference
Variants§
RetQueryData = 0
RestartCommOpt = 1
RetDiagReg = 2
ChangeInputDelimiter = 3
ForceListenOnlyMode = 4
ClearCtrDiagReg = 10
RetBusMsgCount = 11
RetBusCommErrCount = 12
RetBusExcErrCount = 13
RetServerMsgCount = 14
RetServerNoRespCount = 15
RetServerNAKCount = 16
RetServerBusyCount = 17
RetBusCharOverrunCount = 18
RetOverrunErrCount = 19
ClearOverrunCounterFlag = 20
GetClearPlusStats = 21
Reserved = 22
Trait Implementations§
Source§impl Clone for DiagnosticSubfunction
impl Clone for DiagnosticSubfunction
Source§fn clone(&self) -> DiagnosticSubfunction
fn clone(&self) -> DiagnosticSubfunction
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 DiagnosticSubfunction
impl Debug for DiagnosticSubfunction
Source§impl Display for DiagnosticSubfunction
impl Display for DiagnosticSubfunction
Source§impl PartialEq for DiagnosticSubfunction
impl PartialEq for DiagnosticSubfunction
Source§impl TryFrom<u16> for DiagnosticSubfunction
impl TryFrom<u16> for DiagnosticSubfunction
Source§type Error = TryFromPrimitiveError<DiagnosticSubfunction>
type Error = TryFromPrimitiveError<DiagnosticSubfunction>
The type returned in the event of a conversion error.
impl Copy for DiagnosticSubfunction
impl Eq for DiagnosticSubfunction
impl StructuralPartialEq for DiagnosticSubfunction
Auto Trait Implementations§
impl Freeze for DiagnosticSubfunction
impl RefUnwindSafe for DiagnosticSubfunction
impl Send for DiagnosticSubfunction
impl Sync for DiagnosticSubfunction
impl Unpin for DiagnosticSubfunction
impl UnwindSafe for DiagnosticSubfunction
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