#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.