#[repr(C)]
pub enum PduStatus {
CopstIdle,
CopstExecuting,
CopstFinished,
CopstCancelled,
CopstWaiting,
CllstOffline,
CllstOnline,
CllstCommStarted,
ModstReady,
ModstNotReady,
ModstNotAvail,
ModstAvail,
}
Expand description
Status codes
Variants
CopstIdle
Communication parameter has not been acted upon yet
CopstExecuting
Communication parameter is being run
CopstFinished
Communication parameter is finished being run
CopstCancelled
Communication parameter was cancelled
CopstWaiting
Communication parameter is waiting to be executed again (Cyclic communication parameter)
CllstOffline
Communication logical link is offline
CllstOnline
Communication logical link is online
CllstCommStarted
Communication logical link is online and has been started (In a Tx/Rx state)
ModstReady
Vehicle communication interface is ready for communication
ModstNotReady
Vehicle communication interface is not ready for communication
ModstNotAvail
Vehicle communication interface is unavailable for connection
ModstAvail
Vehicle communication interface is available for connection
Trait Implementations
sourceimpl Ord for PduStatus
impl Ord for PduStatus
sourceimpl PartialOrd<PduStatus> for PduStatus
impl PartialOrd<PduStatus> for PduStatus
sourcefn partial_cmp(&self, other: &PduStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &PduStatus) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for PduStatus
impl Eq for PduStatus
impl StructuralEq for PduStatus
impl StructuralPartialEq for PduStatus
Auto Trait Implementations
impl RefUnwindSafe for PduStatus
impl Send for PduStatus
impl Sync for PduStatus
impl Unpin for PduStatus
impl UnwindSafe for PduStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more