Enum ecu_diagnostics::uds::CommunicationType
source · pub enum CommunicationType {
NormalCommunication,
NetworkManagement,
All,
}
Expand description
ECU Communication types
Variants§
NormalCommunication
Application layer communication (inter-signal exchanges) between ECUs
NetworkManagement
Network management related communication
All
Both application layer communication and network management communication
Trait Implementations§
source§impl Clone for CommunicationType
impl Clone for CommunicationType
source§fn clone(&self) -> CommunicationType
fn clone(&self) -> CommunicationType
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 CommunicationType
impl Debug for CommunicationType
source§impl Display for CommunicationType
impl Display for CommunicationType
source§impl Ord for CommunicationType
impl Ord for CommunicationType
source§fn cmp(&self, other: &CommunicationType) -> Ordering
fn cmp(&self, other: &CommunicationType) -> 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 CommunicationType
impl PartialEq for CommunicationType
source§fn eq(&self, other: &CommunicationType) -> bool
fn eq(&self, other: &CommunicationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommunicationType
impl PartialOrd for CommunicationType
source§fn partial_cmp(&self, other: &CommunicationType) -> Option<Ordering>
fn partial_cmp(&self, other: &CommunicationType) -> 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 moreimpl Copy for CommunicationType
impl Eq for CommunicationType
impl StructuralPartialEq for CommunicationType
Auto Trait Implementations§
impl Freeze for CommunicationType
impl RefUnwindSafe for CommunicationType
impl Send for CommunicationType
impl Sync for CommunicationType
impl Unpin for CommunicationType
impl UnwindSafe for CommunicationType
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