Skip to main content

QmiProtocolError

Struct QmiProtocolError 

Source
#[repr(transparent)]
pub struct QmiProtocolError(pub c_uint);
Expand description

QMI protocol errors.

Since: 1.0

Tuple Fields§

§0: c_uint

Implementations§

Source§

impl QmiProtocolError

Source

pub const NONE: QmiProtocolError

No error.

Source

pub const MALFORMED_MESSAGE: QmiProtocolError

Malformed message.

Source

pub const NO_MEMORY: QmiProtocolError

No memory.

Source

pub const INTERNAL: QmiProtocolError

Internal.

Source

pub const ABORTED: QmiProtocolError

Aborted.

Source

pub const CLIENT_IDS_EXHAUSTED: QmiProtocolError

Client IDs exhausted.

Source

pub const UNABORTABLE_TRANSACTION: QmiProtocolError

Unabortable transaction.

Source

pub const INVALID_CLIENT_ID: QmiProtocolError

Invalid client ID.

Source

pub const NO_THRESHOLDS_PROVIDED: QmiProtocolError

No thresholds provided.

Source

pub const INVALID_HANDLE: QmiProtocolError

Invalid handle.

Source

pub const INVALID_PROFILE: QmiProtocolError

Invalid profile.

Source

pub const INVALID_PIN_ID: QmiProtocolError

Invalid PIN ID.

Source

pub const INCORRECT_PIN: QmiProtocolError

Incorrect PIN.

Source

pub const NO_NETWORK_FOUND: QmiProtocolError

No network found.

Source

pub const CALL_FAILED: QmiProtocolError

Call failed.

Source

pub const OUT_OF_CALL: QmiProtocolError

Out of call.

Source

pub const NOT_PROVISIONED: QmiProtocolError

Not provisioned.

Source

pub const MISSING_ARGUMENT: QmiProtocolError

Missing argument.

Source

pub const ARGUMENT_TOO_LONG: QmiProtocolError

Argument too long.

Source

pub const INVALID_TRANSACTION_ID: QmiProtocolError

Invalid transaction ID.

Source

pub const DEVICE_IN_USE: QmiProtocolError

Device in use.

Source

pub const NETWORK_UNSUPPORTED: QmiProtocolError

Network unsupported.

Source

pub const DEVICE_UNSUPPORTED: QmiProtocolError

Device unsupported.

Source

pub const NO_EFFECT: QmiProtocolError

No effect.

Source

pub const NO_FREE_PROFILE: QmiProtocolError

No free profile.

Source

pub const INVALID_PDP_TYPE: QmiProtocolError

Invalid PDP type.

Source

pub const INVALID_TECHNOLOGY_PREFERENCE: QmiProtocolError

Invalid technology preference.

Source

pub const INVALID_PROFILE_TYPE: QmiProtocolError

Invalid profile type.

Source

pub const INVALID_SERVICE_TYPE: QmiProtocolError

Invalid service type.

Source

pub const INVALID_REGISTER_ACTION: QmiProtocolError

Invalid register action.

Source

pub const INVALID_PS_ATTACH_ACTION: QmiProtocolError

Invalid PS attach action.

Source

pub const AUTHENTICATION_FAILED: QmiProtocolError

Authentication failed.

Source

pub const PIN_BLOCKED: QmiProtocolError

PIN blocked.

Source

pub const PIN_ALWAYS_BLOCKED: QmiProtocolError

PIN always blocked.

Source

pub const UIM_UNINITIALIZED: QmiProtocolError

UIM uninitialized.

Source

pub const MAXIMUM_QOS_REQUESTS_IN_USE: QmiProtocolError

Maximum QoS requests in use.

Source

pub const INCORRECT_FLOW_FILTER: QmiProtocolError

Incorrect flow filter.

Source

pub const NETWORK_QOS_UNAWARE: QmiProtocolError

Network QoS unaware.

Source

pub const INVALID_QOS_ID: QmiProtocolError

Invalid QoS ID.

Source

pub const REQUESTED_NUMBER_UNSUPPORTED: QmiProtocolError

Requested number unsupported. Since 1.22.

Source

pub const INTERFACE_NOT_FOUND: QmiProtocolError

Interface not found. Since 1.22.

Source

pub const FLOW_SUSPENDED: QmiProtocolError

Flow suspended.

Source

pub const INVALID_DATA_FORMAT: QmiProtocolError

Invalid data format. Since 1.22.

Source

pub const GENERAL_ERROR: QmiProtocolError

General error.

Source

pub const UNKNOWN_ERROR: QmiProtocolError

Unknown error.

Source

pub const INVALID_ARGUMENT: QmiProtocolError

Invalid argument.

Source

pub const INVALID_INDEX: QmiProtocolError

Invalid index.

Source

pub const NO_ENTRY: QmiProtocolError

No entry.

Source

pub const DEVICE_STORAGE_FULL: QmiProtocolError

Device storage full.

Source

pub const DEVICE_NOT_READY: QmiProtocolError

Device not ready.

Source

pub const NETWORK_NOT_READY: QmiProtocolError

Network not ready.

Source

pub const WMS_CAUSE_CODE: QmiProtocolError

WMS cause code.

Source

pub const WMS_MESSAGE_NOT_SENT: QmiProtocolError

WMS message not sent.

Source

pub const WMS_MESSAGE_DELIVERY_FAILURE: QmiProtocolError

WMS message delivery failure.

Source

pub const WMS_INVALID_MESSAGE_ID: QmiProtocolError

WMS invalid message ID.

Source

pub const WMS_ENCODING: QmiProtocolError

WMS encoding.

Source

pub const AUTHENTICATION_LOCK: QmiProtocolError

Authentication lock.

Source

pub const INVALID_TRANSITION: QmiProtocolError

Invalid transition.

Source

pub const NOT_MCAST_INTERFACE: QmiProtocolError

Not a multicast interface. Since 1.22.

Source

pub const MAXIMUM_MCAST_REQUESTS_IN_USE: QmiProtocolError

Maximum multicast requests in use. Since 1.22.

Source

pub const INVALID_MCAST_HANDLE: QmiProtocolError

Invalid mulitcast handle. Since 1.22.

Source

pub const INVALID_IP_FAMILY_PREFERENCE: QmiProtocolError

Invalid IP family preference. Since 1.22.

Source

pub const SESSION_INACTIVE: QmiProtocolError

Session inactive.

Source

pub const SESSION_INVALID: QmiProtocolError

Session invalid.

Source

pub const SESSION_OWNERSHIP: QmiProtocolError

Session ownership.

Source

pub const INSUFFICIENT_RESOURCES: QmiProtocolError

Insufficient resources.

Source

pub const DISABLED: QmiProtocolError

Disabled.

Source

pub const INVALID_OPERATION: QmiProtocolError

Invalid operation.

Source

pub const INVALID_QMI_COMMAND: QmiProtocolError

Invalid QMI command.

Source

pub const WMS_T_PDU_TYPE: QmiProtocolError

WMS T-PDU type.

Source

pub const WMS_SMSC_ADDRESS: QmiProtocolError

WMS SMSC address.

Source

pub const INFORMATION_UNAVAILABLE: QmiProtocolError

Information unavailable.

Source

pub const SEGMENT_TOO_LONG: QmiProtocolError

Segment too long.

Source

pub const SEGMENT_ORDER: QmiProtocolError

Segment order.

Source

pub const BUNDLING_NOT_SUPPORTED: QmiProtocolError

Bundling not supported.

Source

pub const OPERATION_PARTIAL_FAILURE: QmiProtocolError

Operation partial failure. Since 1.22.

Source

pub const POLICY_MISMATCH: QmiProtocolError

Policy mismatch. Since 1.6.

Source

pub const SIM_FILE_NOT_FOUND: QmiProtocolError

SIM file not found.

Source

pub const EXTENDED_INTERNAL: QmiProtocolError

Extended internal error. Since 1.6.

Source

pub const ACCESS_DENIED: QmiProtocolError

Access denied.

Source

pub const HARDWARE_RESTRICTED: QmiProtocolError

Hardware restricted.

Source

pub const ACK_NOT_SENT: QmiProtocolError

ACK not sent. Since 1.6.

Source

pub const INJECT_TIMEOUT: QmiProtocolError

Inject timeout. Since 1.6.

Source

pub const INCOMPATIBLE_STATE: QmiProtocolError

Incompatible state. Since 1.6.

Source

pub const FDN_RESTRICT: QmiProtocolError

FDN restrict. Since 1.6.

Source

pub const SUPS_FAILURE_CASE: QmiProtocolError

SUPS failure case. Since 1.6.

Source

pub const NO_RADIO: QmiProtocolError

No radio. Since 1.6.

Source

pub const NOT_SUPPORTED: QmiProtocolError

Not supported. Since 1.6.

Source

pub const NO_SUBSCRIPTION: QmiProtocolError

No subscription. Since 1.6.

Source

pub const CARD_CALL_CONTROL_FAILED: QmiProtocolError

Card call control failed. Since 1.6.

Source

pub const NETWORK_ABORTED: QmiProtocolError

Network aborted. Since 1.6.

Source

pub const MSG_BLOCKED: QmiProtocolError

Message blocked. Since 1.6.

Source

pub const INVALID_SESSION_TYPE: QmiProtocolError

Invalid session type. Since 1.6.

Source

pub const INVALID_PB_TYPE: QmiProtocolError

Invalid PB type. Since 1.6.

Source

pub const NO_SIM: QmiProtocolError

No SIM. Since 1.6.

Source

pub const PB_NOT_READY: QmiProtocolError

PB not ready. Since 1.6.

Source

pub const PIN_RESTRICTION: QmiProtocolError

PIN restriction. Since 1.6.

Source

pub const PIN2_RESTRICTION: QmiProtocolError

PIN2 restriction. Since 1.6.

Source

pub const PUK_RESTRICTION: QmiProtocolError

PUK restriction. Since 1.6.

Source

pub const PUK2_RESTRICTION: QmiProtocolError

PUK2 restriction. Since 1.6.

Source

pub const PB_ACCESS_RESTRICTED: QmiProtocolError

PB access restricted. Since 1.6.

Source

pub const PB_DELETE_IN_PROGRESS: QmiProtocolError

PB delete in progress. Since 1.22.

Source

pub const PB_TEXT_TOO_LONG: QmiProtocolError

PB text too long. Since 1.6.

Source

pub const PB_NUMBER_TOO_LONG: QmiProtocolError

PB number too long. Since 1.6.

Source

pub const PB_HIDDEN_KEY_RESTRICTION: QmiProtocolError

PB hidden key restriction. Since 1.6.

Source

pub const PB_NOT_AVAILABLE: QmiProtocolError

PB not available. Since 1.22.

Source

pub const DEVICE_MEMORY_ERROR: QmiProtocolError

Device memory error. Since 1.22.

Source

pub const NO_PERMISSION: QmiProtocolError

No permission. Since 1.22.

Source

pub const TOO_SOON: QmiProtocolError

Too soon. Since 1.22.

Source

pub const TIME_NOT_ACQUIRED: QmiProtocolError

Time not acquired. Since 1.22.

Source

pub const OPERATION_IN_PROGRESS: QmiProtocolError

Operation in progress. Since 1.22.

Source

pub const FW_WRITE_FAILED: QmiProtocolError

Firmware write failed. Since 1.22.

Source

pub const FW_INFO_READ_FAILED: QmiProtocolError

Firmware info read failed. Since 1.22.

Source

pub const FW_FILE_NOT_FOUND: QmiProtocolError

Firmware file not found. Since 1.22.

Source

pub const FW_DIR_NOT_FOUND: QmiProtocolError

Firmware dir not found. Since 1.22.

Source

pub const FW_ALREADY_ACTIVATED: QmiProtocolError

Firmware already activated. Since 1.22.

Source

pub const FW_CANNOT_GENERIC_IMAGE: QmiProtocolError

Firmware cannot generic image. Since 1.22.

Source

pub const FW_FILE_OPEN_FAILED: QmiProtocolError

Firmware file open failed. Since 1.22.

Source

pub const FW_UPDATE_DISCONTINUOUS_FRAME: QmiProtocolError

Firmware update discontinuous frame. Since 1.22.

Source

pub const FW_UPDATE_FAILED: QmiProtocolError

Firmware update failed. Since 1.22.

Source

pub const CAT_EVENT_REGISTRATION_FAILED: QmiProtocolError

Event registration failed.

Source

pub const CAT_INVALID_TERMINAL_RESPONSE: QmiProtocolError

Invalid terminal response.

Source

pub const CAT_INVALID_ENVELOPE_COMMAND: QmiProtocolError

Invalid envelope command.

Source

pub const CAT_ENVELOPE_COMMAND_BUSY: QmiProtocolError

Envelope command busy.

Source

pub const CAT_ENVELOPE_COMMAND_FAILED: QmiProtocolError

Envelope command failed.

Trait Implementations§

Source§

impl Clone for QmiProtocolError

Source§

fn clone(&self) -> QmiProtocolError

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for QmiProtocolError

Source§

impl Debug for QmiProtocolError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for QmiProtocolError

Source§

impl Hash for QmiProtocolError

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for QmiProtocolError

Source§

fn eq(&self, other: &QmiProtocolError) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for QmiProtocolError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.