Enum auto_uds::CommunicationLevel
source · pub enum CommunicationLevel {
EnableRxAndTx,
EnableRxDisableTx,
DisableRxEnableTx,
DisableRxAndTx,
}Expand description
Communication level toggle
Variants§
EnableRxAndTx
Enable both Rx and Tx communication
EnableRxDisableTx
Enable Rx communication and disable Tx communication
DisableRxEnableTx
Disable Rx communication and enable Tx communication
DisableRxAndTx
Disable both Rx and Tx communication
Trait Implementations§
source§impl Clone for CommunicationLevel
impl Clone for CommunicationLevel
source§fn clone(&self) -> CommunicationLevel
fn clone(&self) -> CommunicationLevel
Returns a copy 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 CommunicationLevel
impl Debug for CommunicationLevel
source§impl From<CommunicationLevel> for u8
impl From<CommunicationLevel> for u8
source§fn from(value: CommunicationLevel) -> Self
fn from(value: CommunicationLevel) -> Self
Converts to this type from the input type.
source§impl Ord for CommunicationLevel
impl Ord for CommunicationLevel
source§fn cmp(&self, other: &CommunicationLevel) -> Ordering
fn cmp(&self, other: &CommunicationLevel) -> 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<CommunicationLevel> for CommunicationLevel
impl PartialEq<CommunicationLevel> for CommunicationLevel
source§fn eq(&self, other: &CommunicationLevel) -> bool
fn eq(&self, other: &CommunicationLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CommunicationLevel> for CommunicationLevel
impl PartialOrd<CommunicationLevel> for CommunicationLevel
source§fn partial_cmp(&self, other: &CommunicationLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &CommunicationLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more