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 ComposeSchema for CommunicationType
impl ComposeSchema for CommunicationType
Source§impl Debug for CommunicationType
impl Debug for CommunicationType
Source§impl<'de> Deserialize<'de> for CommunicationType
impl<'de> Deserialize<'de> for CommunicationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Serialize for CommunicationType
impl Serialize for CommunicationType
Source§impl ToSchema for CommunicationType
impl ToSchema for CommunicationType
Source§impl TryFrom<u8> for CommunicationType
impl TryFrom<u8> for CommunicationType
Source§impl ValueEnum for CommunicationType
impl ValueEnum 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.