#[repr(transparent)]pub struct AbilityRuntimeErrorCode(pub NonZero<c_uint>);api-13 only.Expand description
Enumerates the error codes.
Available since API-level: 13
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl AbilityRuntimeErrorCode
impl AbilityRuntimeErrorCode
Sourcepub const PERMISSION_DENIED: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const PERMISSION_DENIED: AbilityRuntimeErrorCode
api-15 only.permission denied.
Available since API-level: 15
Sourcepub const PARAM_INVALID: AbilityRuntimeErrorCode
pub const PARAM_INVALID: AbilityRuntimeErrorCode
Invalid parameters.
Sourcepub const NOT_SUPPORTED: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const NOT_SUPPORTED: AbilityRuntimeErrorCode
api-15 only.StartSelfUIAbility is not supported.
Available since API-level: 15
Sourcepub const NO_SUCH_ABILITY: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const NO_SUCH_ABILITY: AbilityRuntimeErrorCode
api-15 only.No such ability.
Available since API-level: 15
Sourcepub const INCORRECT_ABILITY_TYPE: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const INCORRECT_ABILITY_TYPE: AbilityRuntimeErrorCode
api-15 only.Incorrect ability type.
Available since API-level: 15
Sourcepub const CROWDTEST_EXPIRED: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const CROWDTEST_EXPIRED: AbilityRuntimeErrorCode
api-15 only.The crowdtesting application expires.
Available since API-level: 15
Sourcepub const WUKONG_MODE: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const WUKONG_MODE: AbilityRuntimeErrorCode
api-15 only.The ability cannot be started in Wukong Mode.
Available since API-level: 15
Sourcepub const CONTEXT_NOT_EXIST: AbilityRuntimeErrorCode
pub const CONTEXT_NOT_EXIST: AbilityRuntimeErrorCode
The context does not exist.
Sourcepub const CONTROLLED: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const CONTROLLED: AbilityRuntimeErrorCode
api-15 only.The app is controlled.
Available since API-level: 15
Sourcepub const EDM_CONTROLLED: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const EDM_CONTROLLED: AbilityRuntimeErrorCode
api-15 only.The app is controlled by EDM.
Available since API-level: 15
Sourcepub const CROSS_APP: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const CROSS_APP: AbilityRuntimeErrorCode
api-15 only.Cross-app start is not allowed.
Available since API-level: 15
Sourcepub const INTERNAL: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const INTERNAL: AbilityRuntimeErrorCode
api-15 only.Internal error.
Available since API-level: 15
Sourcepub const NOT_TOP_ABILITY: AbilityRuntimeErrorCode
Available on crate feature api-15 only.
pub const NOT_TOP_ABILITY: AbilityRuntimeErrorCode
api-15 only.Not top ability.
Available since API-level: 15
Sourcepub const ABILITY_RUNTIME_ERROR_VISIBILITY_SETTING_DISABLED: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const ABILITY_RUNTIME_ERROR_VISIBILITY_SETTING_DISABLED: AbilityRuntimeErrorCode
api-17 only.Setting visibility is disabled.
Available since API-level: 17
Sourcepub const MULTI_APP_NOT_SUPPORTED: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const MULTI_APP_NOT_SUPPORTED: AbilityRuntimeErrorCode
api-17 only.App clone or multi-instance is not supported.
Available since API-level: 17
Sourcepub const INVALID_APP_INSTANCE_KEY: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const INVALID_APP_INSTANCE_KEY: AbilityRuntimeErrorCode
api-17 only.The app instance key is invalid.
Available since API-level: 17
Sourcepub const UPPER_LIMIT_REACHED: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const UPPER_LIMIT_REACHED: AbilityRuntimeErrorCode
api-17 only.The number of app instances reaches the limit.
Available since API-level: 17
Sourcepub const ABILITY_RUNTIME_ERROR_MULTI_INSTANCE_NOT_SUPPORTED: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const ABILITY_RUNTIME_ERROR_MULTI_INSTANCE_NOT_SUPPORTED: AbilityRuntimeErrorCode
api-17 only.The multi-instance is not supported.
Available since API-level: 17
Sourcepub const APP_INSTANCE_KEY_NOT_SUPPORTED: AbilityRuntimeErrorCode
Available on crate feature api-17 only.
pub const APP_INSTANCE_KEY_NOT_SUPPORTED: AbilityRuntimeErrorCode
api-17 only.The APP_INSTANCE_KEY cannot be specified.
Available since API-level: 17
Sourcepub const GET_APPLICATION_INFO_FAILED: AbilityRuntimeErrorCode
Available on crate feature api-21 only.
pub const GET_APPLICATION_INFO_FAILED: AbilityRuntimeErrorCode
api-21 only.Failed to obtain the target application information.
Available since API-level: 21
Sourcepub const START_TIMEOUT: AbilityRuntimeErrorCode
Available on crate feature api-21 only.
pub const START_TIMEOUT: AbilityRuntimeErrorCode
api-21 only.Start UIAbility timeout.
Available since API-level: 21
Sourcepub const MAIN_THREAD_NOT_SUPPORTED: AbilityRuntimeErrorCode
Available on crate feature api-21 only.
pub const MAIN_THREAD_NOT_SUPPORTED: AbilityRuntimeErrorCode
api-21 only.The API does not support being called in the main thread.
Available since API-level: 21
Trait Implementations§
Source§impl Clone for AbilityRuntimeErrorCode
impl Clone for AbilityRuntimeErrorCode
Source§fn clone(&self) -> AbilityRuntimeErrorCode
fn clone(&self) -> AbilityRuntimeErrorCode
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AbilityRuntimeErrorCode
impl Debug for AbilityRuntimeErrorCode
Source§impl Hash for AbilityRuntimeErrorCode
impl Hash for AbilityRuntimeErrorCode
Source§impl PartialEq for AbilityRuntimeErrorCode
impl PartialEq for AbilityRuntimeErrorCode
impl Copy for AbilityRuntimeErrorCode
impl Eq for AbilityRuntimeErrorCode
impl StructuralPartialEq for AbilityRuntimeErrorCode
Auto Trait Implementations§
impl Freeze for AbilityRuntimeErrorCode
api-12 only.impl RefUnwindSafe for AbilityRuntimeErrorCode
api-12 only.impl Send for AbilityRuntimeErrorCode
api-12 only.impl Sync for AbilityRuntimeErrorCode
api-12 only.impl Unpin for AbilityRuntimeErrorCode
api-12 only.impl UnwindSafe for AbilityRuntimeErrorCode
api-12 only.Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on crate feature api-12 only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
api-12 only.§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
Available on crate feature api-12 only.
impl<T> CloneToUninit for Twhere
T: Clone,
api-12 only.§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)