Skip to main content

QmiError

Struct QmiError 

#[repr(transparent)]
pub struct QmiError(pub u16);
Expand description

Error code of a core QMI response (qmi_error_type_v01).

The values come from Qualcomm’s common_v01.h. Unknown values stay representable.

Tuple Fields§

§0: u16

Implementations§

§

impl QmiError

pub const NONE: Self

QMI_ERR_NONE.

Value 0x0000.

pub const MALFORMED_MSG: Self

QMI_ERR_MALFORMED_MSG.

Value 0x0001.

pub const NO_MEMORY: Self

QMI_ERR_NO_MEMORY.

Value 0x0002.

pub const INTERNAL: Self

QMI_ERR_INTERNAL.

Value 0x0003.

pub const ABORTED: Self

QMI_ERR_ABORTED.

Value 0x0004.

pub const CLIENT_IDS_EXHAUSTED: Self

QMI_ERR_CLIENT_IDS_EXHAUSTED.

Value 0x0005.

pub const UNABORTABLE_TRANSACTION: Self

QMI_ERR_UNABORTABLE_TRANSACTION.

Value 0x0006.

pub const INVALID_CLIENT_ID: Self

QMI_ERR_INVALID_CLIENT_ID.

Value 0x0007.

pub const NO_THRESHOLDS: Self

QMI_ERR_NO_THRESHOLDS.

Value 0x0008.

pub const INVALID_HANDLE: Self

QMI_ERR_INVALID_HANDLE.

Value 0x0009.

pub const INVALID_PROFILE: Self

QMI_ERR_INVALID_PROFILE.

Value 0x000A.

pub const INVALID_PINID: Self

QMI_ERR_INVALID_PINID.

Value 0x000B.

pub const INCORRECT_PIN: Self

QMI_ERR_INCORRECT_PIN.

Value 0x000C.

pub const NO_NETWORK_FOUND: Self

QMI_ERR_NO_NETWORK_FOUND.

Value 0x000D.

pub const CALL_FAILED: Self

QMI_ERR_CALL_FAILED.

Value 0x000E.

pub const OUT_OF_CALL: Self

QMI_ERR_OUT_OF_CALL.

Value 0x000F.

pub const NOT_PROVISIONED: Self

QMI_ERR_NOT_PROVISIONED.

Value 0x0010.

pub const MISSING_ARG: Self

QMI_ERR_MISSING_ARG.

Value 0x0011.

pub const ARG_TOO_LONG: Self

QMI_ERR_ARG_TOO_LONG.

Value 0x0013.

pub const INVALID_TX_ID: Self

QMI_ERR_INVALID_TX_ID.

Value 0x0016.

pub const DEVICE_IN_USE: Self

QMI_ERR_DEVICE_IN_USE.

Value 0x0017.

pub const OP_NETWORK_UNSUPPORTED: Self

QMI_ERR_OP_NETWORK_UNSUPPORTED.

Value 0x0018.

pub const OP_DEVICE_UNSUPPORTED: Self

QMI_ERR_OP_DEVICE_UNSUPPORTED.

Value 0x0019.

pub const NO_EFFECT: Self

QMI_ERR_NO_EFFECT.

Value 0x001A.

pub const NO_FREE_PROFILE: Self

QMI_ERR_NO_FREE_PROFILE.

Value 0x001B.

pub const INVALID_PDP_TYPE: Self

QMI_ERR_INVALID_PDP_TYPE.

Value 0x001C.

pub const INVALID_TECH_PREF: Self

QMI_ERR_INVALID_TECH_PREF.

Value 0x001D.

pub const INVALID_PROFILE_TYPE: Self

QMI_ERR_INVALID_PROFILE_TYPE.

Value 0x001E.

pub const INVALID_SERVICE_TYPE: Self

QMI_ERR_INVALID_SERVICE_TYPE.

Value 0x001F.

pub const INVALID_REGISTER_ACTION: Self

QMI_ERR_INVALID_REGISTER_ACTION.

Value 0x0020.

pub const INVALID_PS_ATTACH_ACTION: Self

QMI_ERR_INVALID_PS_ATTACH_ACTION.

Value 0x0021.

pub const AUTHENTICATION_FAILED: Self

QMI_ERR_AUTHENTICATION_FAILED.

Value 0x0022.

pub const PIN_BLOCKED: Self

QMI_ERR_PIN_BLOCKED.

Value 0x0023.

pub const PIN_PERM_BLOCKED: Self

QMI_ERR_PIN_PERM_BLOCKED.

Value 0x0024.

pub const SIM_NOT_INITIALIZED: Self

QMI_ERR_SIM_NOT_INITIALIZED.

Value 0x0025.

pub const MAX_QOS_REQUESTS_IN_USE: Self

QMI_ERR_MAX_QOS_REQUESTS_IN_USE.

Value 0x0026.

pub const INCORRECT_FLOW_FILTER: Self

QMI_ERR_INCORRECT_FLOW_FILTER.

Value 0x0027.

pub const NETWORK_QOS_UNAWARE: Self

QMI_ERR_NETWORK_QOS_UNAWARE.

Value 0x0028.

pub const INVALID_ID: Self

QMI_ERR_INVALID_ID.

Value 0x0029.

pub const REQUESTED_NUM_UNSUPPORTED: Self

QMI_ERR_REQUESTED_NUM_UNSUPPORTED.

Value 0x002A.

pub const INTERFACE_NOT_FOUND: Self

QMI_ERR_INTERFACE_NOT_FOUND.

Value 0x002B.

pub const FLOW_SUSPENDED: Self

QMI_ERR_FLOW_SUSPENDED.

Value 0x002C.

pub const INVALID_DATA_FORMAT: Self

QMI_ERR_INVALID_DATA_FORMAT.

Value 0x002D.

pub const GENERAL: Self

QMI_ERR_GENERAL.

Value 0x002E.

pub const UNKNOWN: Self

QMI_ERR_UNKNOWN.

Value 0x002F.

pub const INVALID_ARG: Self

QMI_ERR_INVALID_ARG.

Value 0x0030.

pub const INVALID_INDEX: Self

QMI_ERR_INVALID_INDEX.

Value 0x0031.

pub const NO_ENTRY: Self

QMI_ERR_NO_ENTRY.

Value 0x0032.

pub const DEVICE_STORAGE_FULL: Self

QMI_ERR_DEVICE_STORAGE_FULL.

Value 0x0033.

pub const DEVICE_NOT_READY: Self

QMI_ERR_DEVICE_NOT_READY.

Value 0x0034.

pub const NETWORK_NOT_READY: Self

QMI_ERR_NETWORK_NOT_READY.

Value 0x0035.

pub const CAUSE_CODE: Self

QMI_ERR_CAUSE_CODE.

Value 0x0036.

pub const MESSAGE_NOT_SENT: Self

QMI_ERR_MESSAGE_NOT_SENT.

Value 0x0037.

pub const MESSAGE_DELIVERY_FAILURE: Self

QMI_ERR_MESSAGE_DELIVERY_FAILURE.

Value 0x0038.

pub const INVALID_MESSAGE_ID: Self

QMI_ERR_INVALID_MESSAGE_ID.

Value 0x0039.

pub const ENCODING: Self

QMI_ERR_ENCODING.

Value 0x003A.

pub const AUTHENTICATION_LOCK: Self

QMI_ERR_AUTHENTICATION_LOCK.

Value 0x003B.

pub const INVALID_TRANSITION: Self

QMI_ERR_INVALID_TRANSITION.

Value 0x003C.

pub const NOT_A_MCAST_IFACE: Self

QMI_ERR_NOT_A_MCAST_IFACE.

Value 0x003D.

pub const MAX_MCAST_REQUESTS_IN_USE: Self

QMI_ERR_MAX_MCAST_REQUESTS_IN_USE.

Value 0x003E.

pub const INVALID_MCAST_HANDLE: Self

QMI_ERR_INVALID_MCAST_HANDLE.

Value 0x003F.

pub const INVALID_IP_FAMILY_PREF: Self

QMI_ERR_INVALID_IP_FAMILY_PREF.

Value 0x0040.

pub const SESSION_INACTIVE: Self

QMI_ERR_SESSION_INACTIVE.

Value 0x0041.

pub const SESSION_INVALID: Self

QMI_ERR_SESSION_INVALID.

Value 0x0042.

pub const SESSION_OWNERSHIP: Self

QMI_ERR_SESSION_OWNERSHIP.

Value 0x0043.

pub const INSUFFICIENT_RESOURCES: Self

QMI_ERR_INSUFFICIENT_RESOURCES.

Value 0x0044.

pub const DISABLED: Self

QMI_ERR_DISABLED.

Value 0x0045.

pub const INVALID_OPERATION: Self

QMI_ERR_INVALID_OPERATION.

Value 0x0046.

pub const INVALID_QMI_CMD: Self

QMI_ERR_INVALID_QMI_CMD.

Value 0x0047.

pub const TPDU_TYPE: Self

QMI_ERR_TPDU_TYPE.

Value 0x0048.

pub const SMSC_ADDR: Self

QMI_ERR_SMSC_ADDR.

Value 0x0049.

pub const INFO_UNAVAILABLE: Self

QMI_ERR_INFO_UNAVAILABLE.

Value 0x004A.

pub const SEGMENT_TOO_LONG: Self

QMI_ERR_SEGMENT_TOO_LONG.

Value 0x004B.

pub const SEGMENT_ORDER: Self

QMI_ERR_SEGMENT_ORDER.

Value 0x004C.

pub const BUNDLING_NOT_SUPPORTED: Self

QMI_ERR_BUNDLING_NOT_SUPPORTED.

Value 0x004D.

pub const OP_PARTIAL_FAILURE: Self

QMI_ERR_OP_PARTIAL_FAILURE.

Value 0x004E.

pub const POLICY_MISMATCH: Self

QMI_ERR_POLICY_MISMATCH.

Value 0x004F.

pub const SIM_FILE_NOT_FOUND: Self

QMI_ERR_SIM_FILE_NOT_FOUND.

Value 0x0050.

pub const EXTENDED_INTERNAL: Self

QMI_ERR_EXTENDED_INTERNAL.

Value 0x0051.

pub const ACCESS_DENIED: Self

QMI_ERR_ACCESS_DENIED.

Value 0x0052.

pub const HARDWARE_RESTRICTED: Self

QMI_ERR_HARDWARE_RESTRICTED.

Value 0x0053.

pub const ACK_NOT_SENT: Self

QMI_ERR_ACK_NOT_SENT.

Value 0x0054.

pub const INJECT_TIMEOUT: Self

QMI_ERR_INJECT_TIMEOUT.

Value 0x0055.

pub const INCOMPATIBLE_STATE: Self

QMI_ERR_INCOMPATIBLE_STATE.

Value 0x005A.

pub const FDN_RESTRICT: Self

QMI_ERR_FDN_RESTRICT.

Value 0x005B.

pub const SUPS_FAILURE_CAUSE: Self

QMI_ERR_SUPS_FAILURE_CAUSE.

Value 0x005C.

pub const NO_RADIO: Self

QMI_ERR_NO_RADIO.

Value 0x005D.

pub const NOT_SUPPORTED: Self

QMI_ERR_NOT_SUPPORTED.

Value 0x005E.

pub const NO_SUBSCRIPTION: Self

QMI_ERR_NO_SUBSCRIPTION.

Value 0x005F.

pub const CARD_CALL_CONTROL_FAILED: Self

QMI_ERR_CARD_CALL_CONTROL_FAILED.

Value 0x0060.

pub const NETWORK_ABORTED: Self

QMI_ERR_NETWORK_ABORTED.

Value 0x0061.

pub const MSG_BLOCKED: Self

QMI_ERR_MSG_BLOCKED.

Value 0x0062.

pub const INVALID_SESSION_TYPE: Self

QMI_ERR_INVALID_SESSION_TYPE.

Value 0x0064.

pub const INVALID_PB_TYPE: Self

QMI_ERR_INVALID_PB_TYPE.

Value 0x0065.

pub const NO_SIM: Self

QMI_ERR_NO_SIM.

Value 0x0066.

pub const PB_NOT_READY: Self

QMI_ERR_PB_NOT_READY.

Value 0x0067.

pub const PIN_RESTRICTION: Self

QMI_ERR_PIN_RESTRICTION.

Value 0x0068.

pub const PIN2_RESTRICTION: Self

QMI_ERR_PIN2_RESTRICTION.

Value 0x0069.

pub const PUK_RESTRICTION: Self

QMI_ERR_PUK_RESTRICTION.

Value 0x006A.

pub const PUK2_RESTRICTION: Self

QMI_ERR_PUK2_RESTRICTION.

Value 0x006B.

pub const PB_ACCESS_RESTRICTED: Self

QMI_ERR_PB_ACCESS_RESTRICTED.

Value 0x006C.

pub const PB_DELETE_IN_PROG: Self

QMI_ERR_PB_DELETE_IN_PROG.

Value 0x006D.

pub const PB_TEXT_TOO_LONG: Self

QMI_ERR_PB_TEXT_TOO_LONG.

Value 0x006E.

pub const PB_NUMBER_TOO_LONG: Self

QMI_ERR_PB_NUMBER_TOO_LONG.

Value 0x006F.

pub const PB_HIDDEN_KEY_RESTRICTION: Self

QMI_ERR_PB_HIDDEN_KEY_RESTRICTION.

Value 0x0070.

pub const PB_NOT_AVAILABLE: Self

QMI_ERR_PB_NOT_AVAILABLE.

Value 0x0071.

pub const DEVICE_MEMORY_ERROR: Self

QMI_ERR_DEVICE_MEMORY_ERROR.

Value 0x0072.

pub const NO_PERMISSION: Self

QMI_ERR_NO_PERMISSION.

Value 0x0073.

pub const TOO_SOON: Self

QMI_ERR_TOO_SOON.

Value 0x0074.

pub const TIME_NOT_ACQUIRED: Self

QMI_ERR_TIME_NOT_ACQUIRED.

Value 0x0075.

pub const OP_IN_PROGRESS: Self

QMI_ERR_OP_IN_PROGRESS.

Value 0x0076.

pub const EPERM: Self

QMI_ERR_EPERM.

Value 0x0101.

pub const ENOENT: Self

QMI_ERR_ENOENT.

Value 0x0102.

pub const ESRCH: Self

QMI_ERR_ESRCH.

Value 0x0103.

pub const EINTR: Self

QMI_ERR_EINTR.

Value 0x0104.

pub const EIO: Self

QMI_ERR_EIO.

Value 0x0105.

pub const ENXIO: Self

QMI_ERR_ENXIO.

Value 0x0106.

pub const E2BIG: Self

QMI_ERR_E2BIG.

Value 0x0107.

pub const ENOEXEC: Self

QMI_ERR_ENOEXEC.

Value 0x0108.

pub const EBADF: Self

QMI_ERR_EBADF.

Value 0x0109.

pub const ECHILD: Self

QMI_ERR_ECHILD.

Value 0x010A.

pub const EAGAIN: Self

QMI_ERR_EAGAIN.

Value 0x010B.

pub const ENOMEM: Self

QMI_ERR_ENOMEM.

Value 0x010C.

pub const EACCES: Self

QMI_ERR_EACCES.

Value 0x010D.

pub const EFAULT: Self

QMI_ERR_EFAULT.

Value 0x010E.

pub const ENOTBLK: Self

QMI_ERR_ENOTBLK.

Value 0x010F.

pub const EBUSY: Self

QMI_ERR_EBUSY.

Value 0x0110.

pub const EEXIST: Self

QMI_ERR_EEXIST.

Value 0x0111.

pub const EXDEV: Self

QMI_ERR_EXDEV.

Value 0x0112.

pub const ENODEV: Self

QMI_ERR_ENODEV.

Value 0x0113.

pub const ENOTDIR: Self

QMI_ERR_ENOTDIR.

Value 0x0114.

pub const EISDIR: Self

QMI_ERR_EISDIR.

Value 0x0115.

pub const EINVAL: Self

QMI_ERR_EINVAL.

Value 0x0116.

pub const ENFILE: Self

QMI_ERR_ENFILE.

Value 0x0117.

pub const EMFILE: Self

QMI_ERR_EMFILE.

Value 0x0118.

pub const ENOTTY: Self

QMI_ERR_ENOTTY.

Value 0x0119.

pub const ETXTBSY: Self

QMI_ERR_ETXTBSY.

Value 0x011A.

pub const EFBIG: Self

QMI_ERR_EFBIG.

Value 0x011B.

pub const ENOSPC: Self

QMI_ERR_ENOSPC.

Value 0x011C.

pub const ESPIPE: Self

QMI_ERR_ESPIPE.

Value 0x011D.

pub const EROFS: Self

QMI_ERR_EROFS.

Value 0x011E.

QMI_ERR_EMLINK.

Value 0x011F.

pub const EPIPE: Self

QMI_ERR_EPIPE.

Value 0x0120.

pub const EDOM: Self

QMI_ERR_EDOM.

Value 0x0121.

pub const ERANGE: Self

QMI_ERR_ERANGE.

Value 0x0122.

pub const EDEADLK: Self

QMI_ERR_EDEADLK.

Value 0x0123.

pub const ENAMETOOLONG: Self

QMI_ERR_ENAMETOOLONG.

Value 0x0124.

pub const ENOLCK: Self

QMI_ERR_ENOLCK.

Value 0x0125.

pub const ENOSYS: Self

QMI_ERR_ENOSYS.

Value 0x0126.

pub const ENOTEMPTY: Self

QMI_ERR_ENOTEMPTY.

Value 0x0127.

pub const ELOOP: Self

QMI_ERR_ELOOP.

Value 0x0128.

pub const ENOMSG: Self

QMI_ERR_ENOMSG.

Value 0x012A.

pub const EIDRM: Self

QMI_ERR_EIDRM.

Value 0x012B.

pub const ECHRNG: Self

QMI_ERR_ECHRNG.

Value 0x012C.

pub const EL2NSYNC: Self

QMI_ERR_EL2NSYNC.

Value 0x012D.

pub const EL3HLT: Self

QMI_ERR_EL3HLT.

Value 0x012E.

pub const EL3RST: Self

QMI_ERR_EL3RST.

Value 0x012F.

pub const ELNRNG: Self

QMI_ERR_ELNRNG.

Value 0x0130.

pub const EUNATCH: Self

QMI_ERR_EUNATCH.

Value 0x0131.

pub const ENOCSI: Self

QMI_ERR_ENOCSI.

Value 0x0132.

pub const EL2HLT: Self

QMI_ERR_EL2HLT.

Value 0x0133.

pub const EBADE: Self

QMI_ERR_EBADE.

Value 0x0134.

pub const EBADR: Self

QMI_ERR_EBADR.

Value 0x0135.

pub const EXFULL: Self

QMI_ERR_EXFULL.

Value 0x0136.

pub const ENOANO: Self

QMI_ERR_ENOANO.

Value 0x0137.

pub const EBADRQC: Self

QMI_ERR_EBADRQC.

Value 0x0138.

pub const EBADSLT: Self

QMI_ERR_EBADSLT.

Value 0x0139.

pub const EBFONT: Self

QMI_ERR_EBFONT.

Value 0x013B.

pub const ENOSTR: Self

QMI_ERR_ENOSTR.

Value 0x013C.

pub const ENODATA: Self

QMI_ERR_ENODATA.

Value 0x013D.

pub const ETIME: Self

QMI_ERR_ETIME.

Value 0x013E.

pub const ENOSR: Self

QMI_ERR_ENOSR.

Value 0x013F.

pub const ENONET: Self

QMI_ERR_ENONET.

Value 0x0140.

pub const ENOPKG: Self

QMI_ERR_ENOPKG.

Value 0x0141.

pub const EREMOTE: Self

QMI_ERR_EREMOTE.

Value 0x0142.

QMI_ERR_ENOLINK.

Value 0x0143.

pub const EADV: Self

QMI_ERR_EADV.

Value 0x0144.

pub const ESRMNT: Self

QMI_ERR_ESRMNT.

Value 0x0145.

pub const ECOMM: Self

QMI_ERR_ECOMM.

Value 0x0146.

pub const EPROTO: Self

QMI_ERR_EPROTO.

Value 0x0147.

pub const EMULTIHOP: Self

QMI_ERR_EMULTIHOP.

Value 0x0148.

pub const EDOTDOT: Self

QMI_ERR_EDOTDOT.

Value 0x0149.

pub const EBADMSG: Self

QMI_ERR_EBADMSG.

Value 0x014A.

pub const EOVERFLOW: Self

QMI_ERR_EOVERFLOW.

Value 0x014B.

pub const ENOTUNIQ: Self

QMI_ERR_ENOTUNIQ.

Value 0x014C.

pub const EBADFD: Self

QMI_ERR_EBADFD.

Value 0x014D.

pub const EREMCHG: Self

QMI_ERR_EREMCHG.

Value 0x014E.

pub const ELIBACC: Self

QMI_ERR_ELIBACC.

Value 0x014F.

pub const ELIBBAD: Self

QMI_ERR_ELIBBAD.

Value 0x0150.

pub const ELIBSCN: Self

QMI_ERR_ELIBSCN.

Value 0x0151.

pub const ELIBMAX: Self

QMI_ERR_ELIBMAX.

Value 0x0152.

pub const ELIBEXEC: Self

QMI_ERR_ELIBEXEC.

Value 0x0153.

pub const EILSEQ: Self

QMI_ERR_EILSEQ.

Value 0x0154.

pub const ERESTART: Self

QMI_ERR_ERESTART.

Value 0x0155.

pub const ESTRPIPE: Self

QMI_ERR_ESTRPIPE.

Value 0x0156.

pub const EUSERS: Self

QMI_ERR_EUSERS.

Value 0x0157.

pub const ENOTSOCK: Self

QMI_ERR_ENOTSOCK.

Value 0x0158.

pub const EDESTADDRREQ: Self

QMI_ERR_EDESTADDRREQ.

Value 0x0159.

pub const EMSGSIZE: Self

QMI_ERR_EMSGSIZE.

Value 0x015A.

pub const EPROTOTYPE: Self

QMI_ERR_EPROTOTYPE.

Value 0x015B.

pub const ENOPROTOOPT: Self

QMI_ERR_ENOPROTOOPT.

Value 0x015C.

pub const EPROTONOSUPPORT: Self

QMI_ERR_EPROTONOSUPPORT.

Value 0x015D.

pub const ESOCKTNOSUPPORT: Self

QMI_ERR_ESOCKTNOSUPPORT.

Value 0x015E.

pub const EOPNOTSUPP: Self

QMI_ERR_EOPNOTSUPP.

Value 0x015F.

pub const EPFNOSUPPORT: Self

QMI_ERR_EPFNOSUPPORT.

Value 0x0160.

pub const EAFNOSUPPORT: Self

QMI_ERR_EAFNOSUPPORT.

Value 0x0161.

pub const EADDRINUSE: Self

QMI_ERR_EADDRINUSE.

Value 0x0162.

pub const EADDRNOTAVAIL: Self

QMI_ERR_EADDRNOTAVAIL.

Value 0x0163.

pub const ENETDOWN: Self

QMI_ERR_ENETDOWN.

Value 0x0164.

pub const ENETUNREACH: Self

QMI_ERR_ENETUNREACH.

Value 0x0165.

pub const ENETRESET: Self

QMI_ERR_ENETRESET.

Value 0x0166.

pub const ECONNABORTED: Self

QMI_ERR_ECONNABORTED.

Value 0x0167.

pub const ECONNRESET: Self

QMI_ERR_ECONNRESET.

Value 0x0168.

pub const ENOBUFS: Self

QMI_ERR_ENOBUFS.

Value 0x0169.

pub const EISCONN: Self

QMI_ERR_EISCONN.

Value 0x016A.

pub const ENOTCONN: Self

QMI_ERR_ENOTCONN.

Value 0x016B.

pub const ESHUTDOWN: Self

QMI_ERR_ESHUTDOWN.

Value 0x016C.

pub const ETOOMANYREFS: Self

QMI_ERR_ETOOMANYREFS.

Value 0x016D.

pub const ETIMEDOUT: Self

QMI_ERR_ETIMEDOUT.

Value 0x016E.

pub const ECONNREFUSED: Self

QMI_ERR_ECONNREFUSED.

Value 0x016F.

pub const EHOSTDOWN: Self

QMI_ERR_EHOSTDOWN.

Value 0x0170.

pub const EHOSTUNREACH: Self

QMI_ERR_EHOSTUNREACH.

Value 0x0171.

pub const EALREADY: Self

QMI_ERR_EALREADY.

Value 0x0172.

pub const EINPROGRESS: Self

QMI_ERR_EINPROGRESS.

Value 0x0173.

pub const ESTALE: Self

QMI_ERR_ESTALE.

Value 0x0174.

pub const EUCLEAN: Self

QMI_ERR_EUCLEAN.

Value 0x0175.

pub const ENOTNAM: Self

QMI_ERR_ENOTNAM.

Value 0x0176.

pub const ENAVAIL: Self

QMI_ERR_ENAVAIL.

Value 0x0177.

pub const EISNAM: Self

QMI_ERR_EISNAM.

Value 0x0178.

pub const EREMOTEIO: Self

QMI_ERR_EREMOTEIO.

Value 0x0179.

pub const EDQUOT: Self

QMI_ERR_EDQUOT.

Value 0x017A.

pub const ENOMEDIUM: Self

QMI_ERR_ENOMEDIUM.

Value 0x017B.

pub const EMEDIUMTYPE: Self

QMI_ERR_EMEDIUMTYPE.

Value 0x017C.

pub const ECANCELED: Self

QMI_ERR_ECANCELED.

Value 0x017D.

pub const ENOKEY: Self

QMI_ERR_ENOKEY.

Value 0x017E.

pub const EKEYEXPIRED: Self

QMI_ERR_EKEYEXPIRED.

Value 0x017F.

pub const EKEYREVOKED: Self

QMI_ERR_EKEYREVOKED.

Value 0x0180.

pub const EKEYREJECTED: Self

QMI_ERR_EKEYREJECTED.

Value 0x0181.

pub const EOWNERDEAD: Self

QMI_ERR_EOWNERDEAD.

Value 0x0182.

pub const ENOTRECOVERABLE: Self

QMI_ERR_ENOTRECOVERABLE.

Value 0x0183.

pub const INVALID_QOS_ID: Self = Self::INVALID_ID

QMI_ERR_INVALID_QOS_ID.

Same as Self::INVALID_ID.

pub const EWOULDBLOCK: Self = Self::EAGAIN

QMI_ERR_EWOULDBLOCK.

Same as Self::EAGAIN.

pub const EDEADLOCK: Self = Self::EDEADLK

QMI_ERR_EDEADLOCK.

Same as Self::EDEADLK.

pub const fn name(self) -> Option<&'static str>

Returns the name of the value, or None if it is unknown.

Trait Implementations§

§

impl Clone for QmiError

§

fn clone(&self) -> QmiError

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
§

impl Copy for QmiError

§

impl Debug for QmiError

§

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

Formats the value using the given formatter. Read more
§

impl Decode for QmiError

§

fn decode(reader: &mut Reader) -> Result<Self, ValueError>

Reads a value. Read more
§

impl Display for QmiError

§

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

Formats the value using the given formatter. Read more
§

impl Encode for QmiError

§

fn encode<B: BufMut + ?Sized>(&self, out: &mut B)

Appends the encoded value to out.
§

impl Eq for QmiError

§

impl From<QmiError> for u16

§

fn from(value: QmiError) -> Self

Converts to this type from the input type.
§

impl From<u16> for QmiError

§

fn from(value: u16) -> Self

Converts to this type from the input type.
§

impl Hash for QmiError

§

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
§

impl PartialEq for QmiError

§

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

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

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for QmiError

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = !

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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more