#[repr(C)]pub enum SCDOM_RESULT {
OK = 0,
INVALID_HWND = 1,
INVALID_HANDLE = 2,
PASSIVE_HANDLE = 3,
INVALID_PARAMETER = 4,
OPERATION_FAILED = 5,
OK_NOT_HANDLED = -1,
}
Expand description
Type of the result value for Sciter DOM functions.
Variants§
OK = 0
Function completed successfully.
INVALID_HWND = 1
Invalid HWINDOW
.
INVALID_HANDLE = 2
Invalid HELEMENT
.
PASSIVE_HANDLE = 3
Attempt to use HELEMENT
which is not attached to document.
INVALID_PARAMETER = 4
Parameter is invalid, e.g. pointer is null.
OPERATION_FAILED = 5
Operation failed, e.g. invalid html passed.
OK_NOT_HANDLED = -1
Function completed successfully, but no result (e.g. no such attribute at element).
Trait Implementations§
Source§impl Debug for SCDOM_RESULT
impl Debug for SCDOM_RESULT
Source§impl Display for SCDOM_RESULT
impl Display for SCDOM_RESULT
Source§impl Error for SCDOM_RESULT
impl Error for SCDOM_RESULT
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for SCDOM_RESULT
impl PartialEq for SCDOM_RESULT
Source§impl PartialOrd for SCDOM_RESULT
impl PartialOrd for SCDOM_RESULT
impl StructuralPartialEq for SCDOM_RESULT
Auto Trait Implementations§
impl Freeze for SCDOM_RESULT
impl RefUnwindSafe for SCDOM_RESULT
impl Send for SCDOM_RESULT
impl Sync for SCDOM_RESULT
impl Unpin for SCDOM_RESULT
impl UnwindSafe for SCDOM_RESULT
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