#[repr(transparent)]pub struct QmiCoreError(pub c_uint);Expand description
Common errors that may be reported by libqmi-glib.
Since: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl QmiCoreError
impl QmiCoreError
Sourcepub const FAILED: QmiCoreError
pub const FAILED: QmiCoreError
Operation failed.
Sourcepub const WRONG_STATE: QmiCoreError
pub const WRONG_STATE: QmiCoreError
Operation cannot be executed in the current state.
Sourcepub const TIMEOUT: QmiCoreError
pub const TIMEOUT: QmiCoreError
Operation timed out.
Sourcepub const INVALID_ARGS: QmiCoreError
pub const INVALID_ARGS: QmiCoreError
Invalid arguments given.
Sourcepub const INVALID_MESSAGE: QmiCoreError
pub const INVALID_MESSAGE: QmiCoreError
QMI message is invalid.
Sourcepub const TLV_NOT_FOUND: QmiCoreError
pub const TLV_NOT_FOUND: QmiCoreError
TLV not found.
Sourcepub const TLV_TOO_LONG: QmiCoreError
pub const TLV_TOO_LONG: QmiCoreError
TLV is too long.
Sourcepub const UNSUPPORTED: QmiCoreError
pub const UNSUPPORTED: QmiCoreError
Not supported.
Sourcepub const TLV_EMPTY: QmiCoreError
pub const TLV_EMPTY: QmiCoreError
TLV has no value. Empty TLVs are not a real error, so this error type is never generated. Since 1.12. Deprecated 1.22.
Sourcepub const UNEXPECTED_MESSAGE: QmiCoreError
pub const UNEXPECTED_MESSAGE: QmiCoreError
QMI message is unexpected. Since 1.16.
Sourcepub const INVALID_DATA: QmiCoreError
pub const INVALID_DATA: QmiCoreError
Invalid data found in the message. Since 1.24.6.
Trait Implementations§
Source§impl Clone for QmiCoreError
impl Clone for QmiCoreError
Source§fn clone(&self) -> QmiCoreError
fn clone(&self) -> QmiCoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QmiCoreError
Source§impl Debug for QmiCoreError
impl Debug for QmiCoreError
impl Eq for QmiCoreError
Source§impl Hash for QmiCoreError
impl Hash for QmiCoreError
Source§impl PartialEq for QmiCoreError
impl PartialEq for QmiCoreError
impl StructuralPartialEq for QmiCoreError
Auto Trait Implementations§
impl Freeze for QmiCoreError
impl RefUnwindSafe for QmiCoreError
impl Send for QmiCoreError
impl Sync for QmiCoreError
impl Unpin for QmiCoreError
impl UnsafeUnpin for QmiCoreError
impl UnwindSafe for QmiCoreError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more