Struct ErrorCode
#[repr(transparent)]pub struct ErrorCode(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl ErrorCode
impl ErrorCode
pub const SUCCESS: Self
pub const SUCCESS: Self
Success.
pub const SUCCESS_CONDITIONAL: Self
pub const SUCCESS_CONDITIONAL: Self
Conditional success.
pub const MCM_SERVICES_NOT_AVAILABLE: Self
pub const MCM_SERVICES_NOT_AVAILABLE: Self
MCM services not available.
pub const GENERIC: Self
pub const GENERIC: Self
Generic error.
pub const BADPARM: Self
pub const BADPARM: Self
Bad parameter.
pub const MEMORY: Self
pub const MEMORY: Self
Memory error.
pub const INVALID_STATE: Self
pub const INVALID_STATE: Self
Invalid state.
pub const MALFORMED_MSG: Self
pub const MALFORMED_MSG: Self
Malformed message.
pub const NO_MEMORY: Self
pub const NO_MEMORY: Self
No memory.
pub const INTERNAL: Self
pub const INTERNAL: Self
Internal error.
pub const ABORTED: Self
pub const ABORTED: Self
Action was aborted.
pub const CLIENT_IDS_EXHAUSTED: Self
pub const CLIENT_IDS_EXHAUSTED: Self
Client IDs have been exhausted.
pub const UNABORTABLE_TRANSACTION: Self
pub const UNABORTABLE_TRANSACTION: Self
Unabortable transaction.
pub const INVALID_CLIENT_ID: Self
pub const INVALID_CLIENT_ID: Self
Invalid client ID.
pub const NO_THRESHOLDS: Self
pub const NO_THRESHOLDS: Self
No thresholds.
pub const INVALID_HANDLE: Self
pub const INVALID_HANDLE: Self
Invalid handle.
pub const INVALID_PROFILE: Self
pub const INVALID_PROFILE: Self
Invalid profile.
pub const INVALID_PINID: Self
pub const INVALID_PINID: Self
Invalid PIN ID.
pub const INCORRECT_PIN: Self
pub const INCORRECT_PIN: Self
Incorrect PIN.
pub const NO_NETWORK_FOUND: Self
pub const NO_NETWORK_FOUND: Self
No network found.
pub const CALL_FAILED: Self
pub const CALL_FAILED: Self
Call failed.
pub const OUT_OF_CALL: Self
pub const OUT_OF_CALL: Self
Out of call.
pub const NOT_PROVISIONED: Self
pub const NOT_PROVISIONED: Self
Not provisioned.
pub const MISSING_ARG: Self
pub const MISSING_ARG: Self
Missing argument.
pub const ARG_TOO_LONG: Self
pub const ARG_TOO_LONG: Self
Argument is too long.
pub const INVALID_TX_ID: Self
pub const INVALID_TX_ID: Self
Invalid Tx ID.
pub const DEVICE_IN_USE: Self
pub const DEVICE_IN_USE: Self
Device is in use.
pub const OP_NETWORK_UNSUPPORTED: Self
pub const OP_NETWORK_UNSUPPORTED: Self
OP network is not supported.
pub const OP_DEVICE_UNSUPPORTED: Self
pub const OP_DEVICE_UNSUPPORTED: Self
OP device is not supported.
pub const NO_EFFECT: Self
pub const NO_EFFECT: Self
No effect.
pub const NO_FREE_PROFILE: Self
pub const NO_FREE_PROFILE: Self
No free profile.
pub const INVALID_PDP_TYPE: Self
pub const INVALID_PDP_TYPE: Self
Invalid PDP type.
pub const INVALID_TECH_PREF: Self
pub const INVALID_TECH_PREF: Self
Invalid technical preference.
pub const INVALID_PROFILE_TYPE: Self
pub const INVALID_PROFILE_TYPE: Self
Invalid profile type.
pub const INVALID_SERVICE_TYPE: Self
pub const INVALID_SERVICE_TYPE: Self
Invalid service type.
pub const INVALID_REGISTER_ACTION: Self
pub const INVALID_REGISTER_ACTION: Self
Invalid register action.
pub const INVALID_PS_ATTACH_ACTION: Self
pub const INVALID_PS_ATTACH_ACTION: Self
Invalid PS attach action.
pub const AUTHENTICATION_FAILED: Self
pub const AUTHENTICATION_FAILED: Self
Authentication failed.
pub const PIN_BLOCKED: Self
pub const PIN_BLOCKED: Self
PIN is blocked.
pub const PIN_PERM_BLOCKED: Self
pub const PIN_PERM_BLOCKED: Self
PIN is permanently blocked.
pub const SIM_NOT_INITIALIZED: Self
pub const SIM_NOT_INITIALIZED: Self
SIM is not initialized.
pub const MAX_QOS_REQUESTS_IN_USE: Self
pub const MAX_QOS_REQUESTS_IN_USE: Self
Maximum QoS requests are in use.
pub const INCORRECT_FLOW_FILTER: Self
pub const INCORRECT_FLOW_FILTER: Self
Incorrect flow filter.
pub const NETWORK_QOS_UNAWARE: Self
pub const NETWORK_QOS_UNAWARE: Self
Network QoS is unaware.
pub const INVALID_ID: Self
pub const INVALID_ID: Self
Invalid ID.
pub const INVALID_QOS_ID: Self
pub const INVALID_QOS_ID: Self
Invalid QoS ID.
pub const REQUESTED_NUM_UNSUPPORTED: Self
pub const REQUESTED_NUM_UNSUPPORTED: Self
Requested number is not supported.
pub const INTERFACE_NOT_FOUND: Self
pub const INTERFACE_NOT_FOUND: Self
Interface was not found.
pub const FLOW_SUSPENDED: Self
pub const FLOW_SUSPENDED: Self
Flow is suspended.
pub const INVALID_DATA_FORMAT: Self
pub const INVALID_DATA_FORMAT: Self
Invalid data format.
pub const GENERAL: Self
pub const GENERAL: Self
General error.
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Unknown error.
pub const INVALID_ARG: Self
pub const INVALID_ARG: Self
Invalid argument.
pub const INVALID_INDEX: Self
pub const INVALID_INDEX: Self
Invalid index.
pub const NO_ENTRY: Self
pub const NO_ENTRY: Self
No entry.
pub const DEVICE_STORAGE_FULL: Self
pub const DEVICE_STORAGE_FULL: Self
Device storage is full.
pub const DEVICE_NOT_READY: Self
pub const DEVICE_NOT_READY: Self
Device is not ready.
pub const NETWORK_NOT_READY: Self
pub const NETWORK_NOT_READY: Self
Network is not ready.
pub const CAUSE_CODE: Self
pub const CAUSE_CODE: Self
Cause code error.
pub const MESSAGE_NOT_SENT: Self
pub const MESSAGE_NOT_SENT: Self
Message was not sent.
pub const MESSAGE_DELIVERY_FAILURE: Self
pub const MESSAGE_DELIVERY_FAILURE: Self
Message delivery failure.
pub const INVALID_MESSAGE_ID: Self
pub const INVALID_MESSAGE_ID: Self
Invalid message ID.
pub const ENCODING: Self
pub const ENCODING: Self
Encoding error.
pub const AUTHENTICATION_LOCK: Self
pub const AUTHENTICATION_LOCK: Self
Authentication lock error.
pub const INVALID_TRANSITION: Self
pub const INVALID_TRANSITION: Self
Invalid transition.
pub const NOT_A_MCAST_IFACE: Self
pub const NOT_A_MCAST_IFACE: Self
Not an MCast interface.
pub const MAX_MCAST_REQUESTS_IN_USE: Self
pub const MAX_MCAST_REQUESTS_IN_USE: Self
Maximum MCast requests are in use.
pub const INVALID_MCAST_HANDLE: Self
pub const INVALID_MCAST_HANDLE: Self
Invalid MCast handle.
pub const INVALID_IP_FAMILY_PREF: Self
pub const INVALID_IP_FAMILY_PREF: Self
Invalid IP family preference.
pub const SESSION_INACTIVE: Self
pub const SESSION_INACTIVE: Self
Session is inactive.
pub const SESSION_INVALID: Self
pub const SESSION_INVALID: Self
Session is invalid.
pub const SESSION_OWNERSHIP: Self
pub const SESSION_OWNERSHIP: Self
Session ownership error.
pub const INSUFFICIENT_RESOURCES: Self
pub const INSUFFICIENT_RESOURCES: Self
Insufficient resources.
pub const DISABLED: Self
pub const DISABLED: Self
Disabled.
pub const INVALID_OPERATION: Self
pub const INVALID_OPERATION: Self
Invalid operation.
pub const INVALID_CMD: Self
pub const INVALID_CMD: Self
Invalid command.
pub const TPDU_TYPE: Self
pub const TPDU_TYPE: Self
Transfer Protocol data unit type error.
pub const SMSC_ADDR: Self
pub const SMSC_ADDR: Self
Short message service center address error.
pub const INFO_UNAVAILABLE: Self
pub const INFO_UNAVAILABLE: Self
Information is not available.
pub const SEGMENT_TOO_LONG: Self
pub const SEGMENT_TOO_LONG: Self
Segment is too long.
pub const SEGMENT_ORDER: Self
pub const SEGMENT_ORDER: Self
Segment order error.
pub const BUNDLING_NOT_SUPPORTED: Self
pub const BUNDLING_NOT_SUPPORTED: Self
Bundling is not supported.
pub const OP_PARTIAL_FAILURE: Self
pub const OP_PARTIAL_FAILURE: Self
OP partial failure.
pub const POLICY_MISMATCH: Self
pub const POLICY_MISMATCH: Self
Policy mismatch.
pub const SIM_FILE_NOT_FOUND: Self
pub const SIM_FILE_NOT_FOUND: Self
SIM file was not found.
pub const EXTENDED_INTERNAL: Self
pub const EXTENDED_INTERNAL: Self
Extended internal error.
pub const ACCESS_DENIED: Self
pub const ACCESS_DENIED: Self
Access is denied.
pub const HARDWARE_RESTRICTED: Self
pub const HARDWARE_RESTRICTED: Self
Hardware is restricted.
pub const ACK_NOT_SENT: Self
pub const ACK_NOT_SENT: Self
Acknowledgement was not sent.
pub const INJECT_TIMEOUT: Self
pub const INJECT_TIMEOUT: Self
Inject timeout error.
pub const INCOMPATIBLE_STATE: Self
pub const INCOMPATIBLE_STATE: Self
Incompatible state.
pub const FDN_RESTRICT: Self
pub const FDN_RESTRICT: Self
Fixed dialing number restrict error.
pub const SUPS_FAILURE_CAUSE: Self
pub const SUPS_FAILURE_CAUSE: Self
SUPS failure cause.
pub const NO_RADIO: Self
pub const NO_RADIO: Self
No radio.
pub const NOT_SUPPORTED: Self
pub const NOT_SUPPORTED: Self
Not supported.
pub const NO_SUBSCRIPTION: Self
pub const NO_SUBSCRIPTION: Self
No subscription.
pub const CARD_CALL_CONTROL_FAILED: Self
pub const CARD_CALL_CONTROL_FAILED: Self
Card call control failed.
pub const NETWORK_ABORTED: Self
pub const NETWORK_ABORTED: Self
Network was aborted.
pub const MSG_BLOCKED: Self
pub const MSG_BLOCKED: Self
Message was blocked.
pub const INVALID_SESSION_TYPE: Self
pub const INVALID_SESSION_TYPE: Self
Invalid session type.
pub const INVALID_PB_TYPE: Self
pub const INVALID_PB_TYPE: Self
Invalid phonebook type.
pub const NO_SIM: Self
pub const NO_SIM: Self
No SIM was found.
pub const PB_NOT_READY: Self
pub const PB_NOT_READY: Self
Phonebook not ready.
pub const PIN_RESTRICTION: Self
pub const PIN_RESTRICTION: Self
PIN restriction.
pub const PIN2_RESTRICTION: Self
pub const PIN2_RESTRICTION: Self
PIN2 restriction.
pub const PUK_RESTRICTION: Self
pub const PUK_RESTRICTION: Self
PIN unlocking key restriction.
pub const PUK2_RESTRICTION: Self
pub const PUK2_RESTRICTION: Self
PIN unlocking key2 restriction.
pub const PB_ACCESS_RESTRICTED: Self
pub const PB_ACCESS_RESTRICTED: Self
Phonebook access is restricted.
pub const PB_DELETE_IN_PROG: Self
pub const PB_DELETE_IN_PROG: Self
Phonebook delete is in progress.
pub const PB_TEXT_TOO_LONG: Self
pub const PB_TEXT_TOO_LONG: Self
Phonebook text is too long.
pub const PB_NUMBER_TOO_LONG: Self
pub const PB_NUMBER_TOO_LONG: Self
Phonebook number is too long.
pub const PB_HIDDEN_KEY_RESTRICTION: Self
pub const PB_HIDDEN_KEY_RESTRICTION: Self
Phonebook hidden key restriction.
pub const PB_NOT_AVAILABLE: Self
pub const PB_NOT_AVAILABLE: Self
Phonebook is not available.
pub const DEVICE_MEMORY_ERROR: Self
pub const DEVICE_MEMORY_ERROR: Self
Device memory error.
pub const SIM_PIN_BLOCKED: Self
pub const SIM_PIN_BLOCKED: Self
SIM PIN is blocked.
pub const SIM_PIN_NOT_INITIALIZED: Self
pub const SIM_PIN_NOT_INITIALIZED: Self
SIM PIN is not initialized.
pub const SIM_INVALID_PIN: Self
pub const SIM_INVALID_PIN: Self
SIM PIN is invalid.
pub const SIM_INVALID_PERSO_CK: Self
pub const SIM_INVALID_PERSO_CK: Self
SIM invalid personalization CK.
pub const SIM_PERSO_BLOCKED: Self
pub const SIM_PERSO_BLOCKED: Self
SIM personalization blocked.
pub const SIM_PERSO_INVALID_DATA: Self
pub const SIM_PERSO_INVALID_DATA: Self
SIM personalization contains invalid data.
pub const SIM_ACCESS_DENIED: Self
pub const SIM_ACCESS_DENIED: Self
SIM access is denied.
pub const SIM_INVALID_FILE_PATH: Self
pub const SIM_INVALID_FILE_PATH: Self
SIM file path is invalid.
pub const SIM_SERVICE_NOT_SUPPORTED: Self
pub const SIM_SERVICE_NOT_SUPPORTED: Self
SIM service is not supported.
pub const SIM_AUTH_FAIL: Self
pub const SIM_AUTH_FAIL: Self
SIM authorization failure.
pub const SIM_PIN_PERM_BLOCKED: Self
pub const SIM_PIN_PERM_BLOCKED: Self
SIM PIN is permanently blocked.