#[repr(u16)]pub enum PayloadType {
Show 16 variants
GenericNack = 0,
VehicleIdentificationRequest = 1,
VehicleIdentificationRequestEid = 2,
VehicleIdentificationRequestVin = 3,
VehicleAnnouncementMessage = 4,
RoutingActivationRequest = 5,
RoutingActivationResponse = 6,
AliveCheckRequest = 7,
AliveCheckResponse = 8,
EntityStatusRequest = 9,
EntityStatusResponse = 10,
PowerInformationRequest = 11,
PowerInformationResponse = 12,
DiagnosticMessage = 13,
DiagnosticMessageAck = 14,
DiagnosticMessageNack = 15,
}Variants§
GenericNack = 0
VehicleIdentificationRequest = 1
VehicleIdentificationRequestEid = 2
VehicleIdentificationRequestVin = 3
VehicleAnnouncementMessage = 4
RoutingActivationRequest = 5
RoutingActivationResponse = 6
AliveCheckRequest = 7
AliveCheckResponse = 8
EntityStatusRequest = 9
EntityStatusResponse = 10
PowerInformationRequest = 11
PowerInformationResponse = 12
DiagnosticMessage = 13
DiagnosticMessageAck = 14
DiagnosticMessageNack = 15
Trait Implementations§
Source§impl Clone for PayloadType
impl Clone for PayloadType
Source§fn clone(&self) -> PayloadType
fn clone(&self) -> PayloadType
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 PayloadType
impl Debug for PayloadType
Source§impl FrameRead<'_> for PayloadType
impl FrameRead<'_> for PayloadType
Source§impl FrameWrite for PayloadType
impl FrameWrite for PayloadType
Source§impl Ord for PayloadType
impl Ord for PayloadType
Source§fn cmp(&self, other: &PayloadType) -> Ordering
fn cmp(&self, other: &PayloadType) -> 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 PayloadType
impl PartialEq for PayloadType
Source§impl PartialOrd for PayloadType
impl PartialOrd for PayloadType
Source§impl TryFrom<u16> for PayloadType
impl TryFrom<u16> for PayloadType
impl Eq for PayloadType
impl StructuralPartialEq for PayloadType
Auto Trait Implementations§
impl Freeze for PayloadType
impl RefUnwindSafe for PayloadType
impl Send for PayloadType
impl Sync for PayloadType
impl Unpin for PayloadType
impl UnsafeUnpin for PayloadType
impl UnwindSafe for PayloadType
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