Enum dlt_core::dlt::ControlType
source · pub enum ControlType {
Request,
Response,
Unknown(u8),
}
Expand description
Represents the kind of a DLT Control Message
In case the dlt message contains control information, the Trace-Type indicates different kinds of control message types
Variants§
Implementations§
source§impl ControlType
impl ControlType
Trait Implementations§
source§impl AsRef<str> for ControlType
impl AsRef<str> for ControlType
source§impl Clone for ControlType
impl Clone for ControlType
source§fn clone(&self) -> ControlType
fn clone(&self) -> ControlType
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 ControlType
impl Debug for ControlType
source§impl From<&ControlType> for u8
impl From<&ControlType> for u8
source§fn from(t: &ControlType) -> Self
fn from(t: &ControlType) -> Self
Converts to this type from the input type.
source§impl PartialEq<ControlType> for ControlType
impl PartialEq<ControlType> for ControlType
source§fn eq(&self, other: &ControlType) -> bool
fn eq(&self, other: &ControlType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ControlType
impl Serialize for ControlType
source§impl TryFrom<u8> for ControlType
impl TryFrom<u8> for ControlType
impl StructuralPartialEq for ControlType
Auto Trait Implementations§
impl RefUnwindSafe for ControlType
impl Send for ControlType
impl Sync for ControlType
impl Unpin for ControlType
impl UnwindSafe for ControlType
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