#[repr(transparent)]pub struct ArkUiErrorCode(pub NonZero<c_uint>);api-12 only.Expand description
Define error code enumeration values.
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl ArkUiErrorCode
impl ArkUiErrorCode
Sourcepub const PARAM_INVALID: ArkUiErrorCode
pub const PARAM_INVALID: ArkUiErrorCode
Parameter error.
Sourcepub const CAPI_INIT_ERROR: ArkUiErrorCode
Available on crate feature api-18 only.
pub const CAPI_INIT_ERROR: ArkUiErrorCode
api-18 only.CAPI init error.
Available since API-level: 18
Sourcepub const INTERNAL_ERROR: ArkUiErrorCode
Available on crate feature api-15 only.
pub const INTERNAL_ERROR: ArkUiErrorCode
api-15 only.Internal error occurs, such as failure occurs because of the internal environment error, or operation failed because of the internal execution failed.
Available since API-level: 15
Sourcepub const XCOMPONENT_STATE_INVALID: ArkUiErrorCode
Available on crate feature api-19 only.
pub const XCOMPONENT_STATE_INVALID: ArkUiErrorCode
api-19 only.The XComponent is in invalid state.
Available since API-level: 19
Sourcepub const ATTRIBUTE_OR_EVENT_NOT_SUPPORTED: ArkUiErrorCode
pub const ATTRIBUTE_OR_EVENT_NOT_SUPPORTED: ArkUiErrorCode
The component does not support specific properties or events.
Sourcepub const ARKTS_NODE_NOT_SUPPORTED: ArkUiErrorCode
pub const ARKTS_NODE_NOT_SUPPORTED: ArkUiErrorCode
The corresponding operation does not support nodes created by ArkTS.
Sourcepub const ADAPTER_NOT_BOUND: ArkUiErrorCode
pub const ADAPTER_NOT_BOUND: ArkUiErrorCode
The lazy loading adapter is not bound to the component.
Sourcepub const ADAPTER_EXIST: ArkUiErrorCode
pub const ADAPTER_EXIST: ArkUiErrorCode
The adapter already exists.
Sourcepub const CHILD_NODE_EXIST: ArkUiErrorCode
pub const CHILD_NODE_EXIST: ArkUiErrorCode
The corresponding node already has a child node and cannot add an adapter.
Sourcepub const NODE_EVENT_PARAM_INDEX_OUT_OF_RANGE: ArkUiErrorCode
pub const NODE_EVENT_PARAM_INDEX_OUT_OF_RANGE: ArkUiErrorCode
The parameter length in the parameter event exceeds the limit.
Sourcepub const NODE_EVENT_PARAM_INVALID: ArkUiErrorCode
pub const NODE_EVENT_PARAM_INVALID: ArkUiErrorCode
The data does not exist in the component event.
Sourcepub const NODE_EVENT_NO_RETURN: ArkUiErrorCode
pub const NODE_EVENT_NO_RETURN: ArkUiErrorCode
The component event does not support return values.
Sourcepub const NODE_UNSUPPORTED_EVENT_TYPE: ArkUiErrorCode
Available on crate feature api-21 only.
pub const NODE_UNSUPPORTED_EVENT_TYPE: ArkUiErrorCode
api-21 only.The event type is not supported by the node.
Available since API-level: 21
Sourcepub const NODE_INDEX_INVALID: ArkUiErrorCode
pub const NODE_INDEX_INVALID: ArkUiErrorCode
The index value is invalid.
Sourcepub const GET_INFO_FAILED: ArkUiErrorCode
pub const GET_INFO_FAILED: ArkUiErrorCode
Failed to query route navigation information.
Sourcepub const BUFFER_SIZE_ERROR: ArkUiErrorCode
pub const BUFFER_SIZE_ERROR: ArkUiErrorCode
The buffer size is not large enough.
Sourcepub const NODE_NOT_ON_MAIN_TREE: ArkUiErrorCode
Available on crate feature api-15 only.
pub const NODE_NOT_ON_MAIN_TREE: ArkUiErrorCode
api-15 only.The node is not on main tree.
Available since API-level: 15
Sourcepub const FORCE_DARK_CONFIG_INVALID: ArkUiErrorCode
Available on crate feature api-20 only.
pub const FORCE_DARK_CONFIG_INVALID: ArkUiErrorCode
api-20 only.Force dark config is invalid.
Available since API-level: 20
Sourcepub const NOT_CUSTOM_NODE: ArkUiErrorCode
Available on crate feature api-20 only.
pub const NOT_CUSTOM_NODE: ArkUiErrorCode
api-20 only.The node type is not custom node.
Available since API-level: 20
Sourcepub const CHILD_EXISTED: ArkUiErrorCode
Available on crate feature api-20 only.
pub const CHILD_EXISTED: ArkUiErrorCode
api-20 only.Node already has children.
Available since API-level: 20
Sourcepub const RENDER_PARENT_EXISTED: ArkUiErrorCode
Available on crate feature api-20 only.
pub const RENDER_PARENT_EXISTED: ArkUiErrorCode
api-20 only.RenderNode parent is existed.
Available since API-level: 20
Sourcepub const RENDER_CHILD_NOT_EXIST: ArkUiErrorCode
Available on crate feature api-20 only.
pub const RENDER_CHILD_NOT_EXIST: ArkUiErrorCode
api-20 only.RenderNode child is not exist.
Available since API-level: 20
Sourcepub const PARAM_OUT_OF_RANGE: ArkUiErrorCode
Available on crate feature api-20 only.
pub const PARAM_OUT_OF_RANGE: ArkUiErrorCode
api-20 only.Param is out of range.
Available since API-level: 20
Sourcepub const FOCUS_NON_FOCUSABLE: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_FOCUSABLE: ArkUiErrorCode
api-15 only.The node requesting focus is not focusable.
Available since API-level: 15
Sourcepub const FOCUS_NON_FOCUSABLE_ANCESTOR: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_FOCUSABLE_ANCESTOR: ArkUiErrorCode
api-15 only.The node requesting focus has unfocusable ancestor.
Available since API-level: 15
Sourcepub const FOCUS_NON_EXISTENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_EXISTENT: ArkUiErrorCode
api-15 only.The node requesting focus does not exists.
Available since API-level: 15
Sourcepub const COMPONENT_SNAPSHOT_TIMEOUT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const COMPONENT_SNAPSHOT_TIMEOUT: ArkUiErrorCode
api-15 only.The snapshot taking is timeout.
Available since API-level: 15
Sourcepub const NON_SCROLLABLE_CONTAINER: ArkUiErrorCode
pub const NON_SCROLLABLE_CONTAINER: ArkUiErrorCode
The component is not a scroll container.
Sourcepub const BUFFER_SIZE_NOT_ENOUGH: ArkUiErrorCode
pub const BUFFER_SIZE_NOT_ENOUGH: ArkUiErrorCode
The buffer is not large enough.
Sourcepub const NOT_CLONED_POINTER_EVENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const NOT_CLONED_POINTER_EVENT: ArkUiErrorCode
api-15 only.The event is not a clone event.
Available since API-level: 15
Sourcepub const POST_CLONED_COMPONENT_STATUS_ABNORMAL: ArkUiErrorCode
Available on crate feature api-15 only.
pub const POST_CLONED_COMPONENT_STATUS_ABNORMAL: ArkUiErrorCode
api-15 only.The component status is abnormal.
Available since API-level: 15
Sourcepub const POST_CLONED_NO_COMPONENT_HIT_TO_RESPOND_TO_THE_EVENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const POST_CLONED_NO_COMPONENT_HIT_TO_RESPOND_TO_THE_EVENT: ArkUiErrorCode
api-15 only.No component hit to respond to the event.
Available since API-level: 15
Sourcepub const ARKUI_ERROR_INPUT_EVENT_TYPE_NOT_SUPPORTED: ArkUiErrorCode
Available on crate feature api-20 only.
pub const ARKUI_ERROR_INPUT_EVENT_TYPE_NOT_SUPPORTED: ArkUiErrorCode
api-20 only.Input event type not supported.
Available since API-level: 20
Sourcepub const INVALID_STYLED_STRING: ArkUiErrorCode
Available on crate feature api-14 only.
pub const INVALID_STYLED_STRING: ArkUiErrorCode
api-14 only.invalid styled string.
Available since API-level: 14
Sourcepub const RECOGNIZER_TYPE_NOT_SUPPORTED: ArkUiErrorCode
Available on crate feature api-18 only.
pub const RECOGNIZER_TYPE_NOT_SUPPORTED: ArkUiErrorCode
api-18 only.The gesture recognizer type is not supported.
Available since API-level: 18
Sourcepub const UI_CONTEXT_INVALID: ArkUiErrorCode
Available on crate feature api-18 only.
pub const UI_CONTEXT_INVALID: ArkUiErrorCode
api-18 only.The uiContext is invalid.
Available since API-level: 18
Sourcepub const CALLBACK_INVALID: ArkUiErrorCode
Available on crate feature api-18 only.
pub const CALLBACK_INVALID: ArkUiErrorCode
api-18 only.The callback function is invalid.
Available since API-level: 18
Sourcepub const DRAG_DROP_OPERATION_NOT_ALLOWED: ArkUiErrorCode
Available on crate feature api-19 only.
pub const DRAG_DROP_OPERATION_NOT_ALLOWED: ArkUiErrorCode
api-19 only.operation is not allowed for current drag drop pharse.
Available since API-level: 19
Sourcepub const PARAM_ERROR: ArkUiErrorCode
Available on crate feature api-21 only.
pub const PARAM_ERROR: ArkUiErrorCode
api-21 only.Parameter error.
Available since API-level: 21
Trait Implementations§
Source§impl Clone for ArkUiErrorCode
impl Clone for ArkUiErrorCode
Source§fn clone(&self) -> ArkUiErrorCode
fn clone(&self) -> ArkUiErrorCode
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArkUiErrorCode
impl Debug for ArkUiErrorCode
Source§impl Hash for ArkUiErrorCode
impl Hash for ArkUiErrorCode
Source§impl PartialEq for ArkUiErrorCode
impl PartialEq for ArkUiErrorCode
impl Copy for ArkUiErrorCode
impl Eq for ArkUiErrorCode
impl StructuralPartialEq for ArkUiErrorCode
Auto Trait Implementations§
impl Freeze for ArkUiErrorCode
impl RefUnwindSafe for ArkUiErrorCode
impl Send for ArkUiErrorCode
impl Sync for ArkUiErrorCode
impl Unpin for ArkUiErrorCode
impl UnwindSafe for ArkUiErrorCode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)