#[repr(transparent)]pub struct ArkWeb_BlanklessErrorCode(pub c_int);Available on crate features
api-11 and api-12 and api-20 only.Expand description
Defines an enum for the error codes of the white screen optimization solution.
Available since API-level: 20
Tuple Fields§
§0: c_intImplementations§
Source§impl ArkWeb_BlanklessErrorCode
impl ArkWeb_BlanklessErrorCode
Sourcepub const ARKWEB_BLANKLESS_SUCCESS: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_SUCCESS: ArkWeb_BlanklessErrorCode
The operation is successful.
Sourcepub const ARKWEB_BLANKLESS_ERR_UNKNOWN: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_UNKNOWN: ArkWeb_BlanklessErrorCode
Unidentified error.
Sourcepub const ARKWEB_BLANKLESS_ERR_INVALID_ARGS: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_INVALID_ARGS: ArkWeb_BlanklessErrorCode
Invalid parameter.
Sourcepub const ARKWEB_BLANKLESS_ERR_CONTROLLER_NOT_INITED: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_CONTROLLER_NOT_INITED: ArkWeb_BlanklessErrorCode
The web controller is not bound to a component.
Sourcepub const ARKWEB_BLANKLESS_ERR_KEY_NOT_MATCH: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_KEY_NOT_MATCH: ArkWeb_BlanklessErrorCode
The key value is not matched. The OH_NativeArkWeb_SetBlanklessLoadingWithKey and OH_NativeArkWeb_GetBlanklessInfoWithKey APIs must be used in pair and use the same key value.
Sourcepub const ARKWEB_BLANKLESS_ERR_SIGNIFICANT_CHANGE: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_SIGNIFICANT_CHANGE: ArkWeb_BlanklessErrorCode
If the similarity is low, the system determines that the change is too large. As a result, the OH_NativeArkWeb_SetBlanklessLoadingWithKey API fails to enable frame interpolation.
Sourcepub const ARKWEB_BLANKLESS_ERR_DEVICE_NOT_SUPPORT: ArkWeb_BlanklessErrorCode
pub const ARKWEB_BLANKLESS_ERR_DEVICE_NOT_SUPPORT: ArkWeb_BlanklessErrorCode
The device does not support this feature.
Trait Implementations§
Source§impl Clone for ArkWeb_BlanklessErrorCode
impl Clone for ArkWeb_BlanklessErrorCode
Source§fn clone(&self) -> ArkWeb_BlanklessErrorCode
fn clone(&self) -> ArkWeb_BlanklessErrorCode
Returns a duplicate of the value. Read more
1.0.0 · 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 ArkWeb_BlanklessErrorCode
impl Debug for ArkWeb_BlanklessErrorCode
Source§impl Hash for ArkWeb_BlanklessErrorCode
impl Hash for ArkWeb_BlanklessErrorCode
impl Copy for ArkWeb_BlanklessErrorCode
impl Eq for ArkWeb_BlanklessErrorCode
impl StructuralPartialEq for ArkWeb_BlanklessErrorCode
Auto Trait Implementations§
impl Freeze for ArkWeb_BlanklessErrorCode
impl RefUnwindSafe for ArkWeb_BlanklessErrorCode
impl Send for ArkWeb_BlanklessErrorCode
impl Sync for ArkWeb_BlanklessErrorCode
impl Unpin for ArkWeb_BlanklessErrorCode
impl UnsafeUnpin for ArkWeb_BlanklessErrorCode
impl UnwindSafe for ArkWeb_BlanklessErrorCode
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