pub enum CommunicationType {
ISOSAEReserved,
Normal,
NetworkManagement,
NormalAndNetworkManagement,
}Expand description
CommunicationType is used to specify the type of communication behavior to be modified.
TODO: Note that this implementation is incomplete and does not properly handle the behavior of the upper 4 bits of the field. This implementation is a placeholder and will be updated in the future, which will also be a breaking API change.
Note:
Conversions from u8 to CommunicationType are fallible and will return an Error if the value is not a valid CommunicationType
Variants§
ISOSAEReserved
This value is reserved by the ISO 14229-1 Specification
Normal
This value represents all application related communication.
NetworkManagement
This value represents all network management related communication.
NormalAndNetworkManagement
This value represents all application and network management related communication.
Trait Implementations§
Source§impl Clone for CommunicationType
impl Clone for CommunicationType
Source§fn clone(&self) -> CommunicationType
fn clone(&self) -> CommunicationType
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 CommunicationType
impl Debug for CommunicationType
Source§impl From<CommunicationType> for u8
impl From<CommunicationType> for u8
Source§fn from(value: CommunicationType) -> Self
fn from(value: CommunicationType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommunicationType
impl PartialEq for CommunicationType
Source§impl TryFrom<u8> for CommunicationType
impl TryFrom<u8> for CommunicationType
impl 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