#[repr(transparent)]pub struct OsAccount_ErrCode(pub c_uint);Available on crate features
os-account and api-12 only.Expand description
Enumerates the error codes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl OsAccount_ErrCode
impl OsAccount_ErrCode
Sourcepub const OS_ACCOUNT_ERR_OK: OsAccount_ErrCode
pub const OS_ACCOUNT_ERR_OK: OsAccount_ErrCode
Operation is successful.
Sourcepub const OS_ACCOUNT_ERR_INTERNAL_ERROR: OsAccount_ErrCode
pub const OS_ACCOUNT_ERR_INTERNAL_ERROR: OsAccount_ErrCode
Internal error.
Sourcepub const OS_ACCOUNT_ERR_INVALID_PARAMETER: OsAccount_ErrCode
pub const OS_ACCOUNT_ERR_INVALID_PARAMETER: OsAccount_ErrCode
Invalid parameter.
Trait Implementations§
Source§impl Clone for OsAccount_ErrCode
impl Clone for OsAccount_ErrCode
Source§fn clone(&self) -> OsAccount_ErrCode
fn clone(&self) -> OsAccount_ErrCode
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 moreSource§impl Debug for OsAccount_ErrCode
impl Debug for OsAccount_ErrCode
Source§impl Hash for OsAccount_ErrCode
impl Hash for OsAccount_ErrCode
Source§impl PartialEq for OsAccount_ErrCode
impl PartialEq for OsAccount_ErrCode
Source§fn eq(&self, other: &OsAccount_ErrCode) -> bool
fn eq(&self, other: &OsAccount_ErrCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OsAccount_ErrCode
impl Eq for OsAccount_ErrCode
impl StructuralPartialEq for OsAccount_ErrCode
Auto Trait Implementations§
impl Freeze for OsAccount_ErrCode
impl RefUnwindSafe for OsAccount_ErrCode
impl Send for OsAccount_ErrCode
impl Sync for OsAccount_ErrCode
impl Unpin for OsAccount_ErrCode
impl UnsafeUnpin for OsAccount_ErrCode
impl UnwindSafe for OsAccount_ErrCode
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