#[repr(u8)]pub enum CommunicationCtrlType {
EnableRxAndTx = 0,
EnableRxAndDisableTx = 1,
DisableRxAndEnableTx = 2,
DisableRxAndTx = 3,
EnableRxAndDisableTxWithEnhancedAddressInformation = 4,
EnableRxAndTxWithEnhancedAddressInformation = 5,
VehicleManufacturerSpecific(u8),
SystemSupplierSpecific(u8),
Reserved(u8),
}Variants§
EnableRxAndTx = 0
EnableRxAndDisableTx = 1
DisableRxAndEnableTx = 2
DisableRxAndTx = 3
EnableRxAndDisableTxWithEnhancedAddressInformation = 4
EnableRxAndTxWithEnhancedAddressInformation = 5
VehicleManufacturerSpecific(u8)
SystemSupplierSpecific(u8)
Reserved(u8)
Trait Implementations§
Source§impl Clone for CommunicationCtrlType
impl Clone for CommunicationCtrlType
Source§fn clone(&self) -> CommunicationCtrlType
fn clone(&self) -> CommunicationCtrlType
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 CommunicationCtrlType
impl Debug for CommunicationCtrlType
Source§impl Into<u8> for CommunicationCtrlType
impl Into<u8> for CommunicationCtrlType
Source§impl Ord for CommunicationCtrlType
impl Ord for CommunicationCtrlType
Source§fn cmp(&self, other: &CommunicationCtrlType) -> Ordering
fn cmp(&self, other: &CommunicationCtrlType) -> 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 CommunicationCtrlType
impl PartialEq for CommunicationCtrlType
Source§impl PartialOrd for CommunicationCtrlType
impl PartialOrd for CommunicationCtrlType
Source§impl TryFrom<u8> for CommunicationCtrlType
impl TryFrom<u8> for CommunicationCtrlType
impl Copy for CommunicationCtrlType
impl Eq for CommunicationCtrlType
impl StructuralPartialEq for CommunicationCtrlType
Auto Trait Implementations§
impl Freeze for CommunicationCtrlType
impl RefUnwindSafe for CommunicationCtrlType
impl Send for CommunicationCtrlType
impl Sync for CommunicationCtrlType
impl Unpin for CommunicationCtrlType
impl UnwindSafe for CommunicationCtrlType
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