#[repr(C)]
pub enum PduError {
Show 45 variants
StatusNoError,
FctFailed,
Reserved1,
CommPcToVciFailed,
PduApiNotConstructed,
SharingViolation,
ResourceBusy,
ResourceTableChanged,
ResourceError,
CllNotConnected,
CllNotStarted,
InvalidParameters,
InvalidHandle,
ValueNotSupported,
IdNotSupported,
ComParamNotSupported,
ComParamLocked,
TxQueueFull,
EventQueueEmpty,
VoltageNotSupported,
MuxRscNotSupported,
CableUnknown,
NoCableDetected,
CllConnected,
TempParamNotAllowed,
RscLocked,
RscLockedByAnotherCll,
RscNotLocked,
ModuleNotConnected,
ApiSwOutOfDate,
ModuleFwOutOfDate,
PinNotConnected,
IpProtocolNotSupported,
DoIPRoutingActivationFailed,
DoIPRoutingActivationAuthFailed,
DoIPAmbiguousLogicalAddress,
DoIPRoutineActivationInvalidSrcAddress,
DoIPRoutingActivationNoDataSocketAvailable,
DoIPRoutineActivationSourceAddressChanged,
DoIPRoutingActivationSourceAddressInUse,
DoIPRoutineActivationConfirmationRejected,
DoIPRoutineActivationTypeUnsupported,
DoIPRoutineActivationResponseCodeUnknown,
DoIPRoutingActivationResponseTimeout,
DoIPResponseTimeout,
}
Expand description
Function return values
Variants
StatusNoError
No Error (Function call OK)
FctFailed
Function call failed (Generic failure)
Reserved1
Reserved for ISO 22900-2
CommPcToVciFailed
Communication failed between host and MVCI
PduApiNotConstructed
PDU API has not yet been constructed
SharingViolation
PDU Destruct was not called before another PDU Construct
ResourceBusy
Resource is already in use
ResourceTableChanged
Resource table changed
ResourceError
Generic resource error
CllNotConnected
ComLogicalLink cannot be offline and perform the requested action
CllNotStarted
ComLogicalLink must be started to perform the requested action
InvalidParameters
A parameter parsed into the function was invalid
InvalidHandle
A handle provided was invalid
ValueNotSupported
Option value was unsupported
IdNotSupported
IOCTL Command ID was unsupported
ComParamNotSupported
Communication parameter was unsupported
ComParamLocked
Physical communication parameter cannot be changed as it is locked by another LogicalLink
TxQueueFull
Transmit queue is full
EventQueueEmpty
No more events are available to read
VoltageNotSupported
IOCTL - Voltage value supplied is unsupported by the MVCI module
MuxRscNotSupported
IOCTL - Pin or resource is not supported by the MVCI module
CableUnknown
Cable attached to MVCI module is unknown
NoCableDetected
No cable attached to the MVCI module
CllConnected
ComLogicalLink is already connected
TempParamNotAllowed
Physical Com parameters cannot be changes as a temporary one
RscLocked
Resource is already locked
RscLockedByAnotherCll
Resource is already locked by another ComLogicalLink
RscNotLocked
Resource is already unlocked
ModuleNotConnected
Module is not connected or ready
ApiSwOutOfDate
API software is out of date
ModuleFwOutOfDate
VCI firmware is out of date
PinNotConnected
Requested pin is not routed by the MVCI’s cable
IpProtocolNotSupported
IP protocol not supported
DoIPRoutingActivationFailed
DoIP Routing activation failed (Generic failure)
DoIPRoutingActivationAuthFailed
DoIP Routing activation failed - missing / wrong authentication
DoIPAmbiguousLogicalAddress
DoIP Logical address is defined multiple times so it is ambiguous
DoIPRoutineActivationInvalidSrcAddress
DoIP Routing activation failed - Unknown or invalid source address
DoIPRoutingActivationNoDataSocketAvailable
DoIP Routing activation failed - No more free sockets available
DoIPRoutineActivationSourceAddressChanged
DoIP Routing activation failed - The source address changed
DoIPRoutingActivationSourceAddressInUse
DoIP Routing activation failed - Source address already in use
DoIPRoutineActivationConfirmationRejected
DoIP Routing activation failed - Rejected confirmation
DoIPRoutineActivationTypeUnsupported
DoIP Routing activation failed - Requested activation type was unsupported
DoIPRoutineActivationResponseCodeUnknown
DoIP Routing activation failed - Response code was unknown
DoIPRoutingActivationResponseTimeout
DoIP Routing activation failed - Timeout waiting for activation response
DoIPResponseTimeout
DoIP general timeout
Trait Implementations
sourceimpl Ord for PduError
impl Ord for PduError
sourceimpl PartialOrd<PduError> for PduError
impl PartialOrd<PduError> for PduError
sourcefn partial_cmp(&self, other: &PduError) -> Option<Ordering>
fn partial_cmp(&self, other: &PduError) -> 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 PduError
impl Eq for PduError
impl StructuralEq for PduError
impl StructuralPartialEq for PduError
Auto Trait Implementations
impl RefUnwindSafe for PduError
impl Send for PduError
impl Sync for PduError
impl Unpin for PduError
impl UnwindSafe for PduError
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