pub enum ArkUIErrorCode {
ParamInvalid,
AttributeOrEventNotSupported,
ArkTSNodeNotSupported,
AdapterNotBound,
AdapterExist,
ChildNodeExist,
NodeEventParamIndexOutOfRange,
NodeEventParamInvalid,
NodeIndexInvalid,
BufferSizeError,
NonScrollableContainer,
BufferSizeNotEnough,
}Variants§
ParamInvalid
AttributeOrEventNotSupported
ArkTSNodeNotSupported
AdapterNotBound
AdapterExist
ChildNodeExist
NodeEventParamIndexOutOfRange
NodeEventParamInvalid
NodeIndexInvalid
BufferSizeError
NonScrollableContainer
BufferSizeNotEnough
Implementations§
Source§impl ArkUIErrorCode
impl ArkUIErrorCode
pub fn try_from_raw(attr: ArkUI_ErrorCode) -> Option<Self>
Trait Implementations§
Source§impl AsRef<str> for ArkUIErrorCode
impl AsRef<str> for ArkUIErrorCode
Source§impl Debug for ArkUIErrorCode
impl Debug for ArkUIErrorCode
Source§impl From<ArkUIErrorCode> for ArkUI_ErrorCode
impl From<ArkUIErrorCode> for ArkUI_ErrorCode
Source§fn from(attr: ArkUIErrorCode) -> Self
fn from(attr: ArkUIErrorCode) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ArkUIErrorCode
impl From<u32> for ArkUIErrorCode
Source§fn from(attr: ArkUI_ErrorCode) -> Self
fn from(attr: ArkUI_ErrorCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArkUIErrorCode
impl RefUnwindSafe for ArkUIErrorCode
impl Send for ArkUIErrorCode
impl Sync for ArkUIErrorCode
impl Unpin for ArkUIErrorCode
impl UnsafeUnpin for ArkUIErrorCode
impl UnwindSafe for ArkUIErrorCode
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