#[repr(C)]pub enum REQUEST_RESULT {
PANIC = -1,
OK = 0,
BAD_PARAM = 1,
FAILURE = 2,
NOTSUPPORTED = 3,
}
Expand description
Type of the result value for Sciter Request functions.
Variants§
PANIC = -1
E.g. not enough memory.
OK = 0
Success.
BAD_PARAM = 1
Bad parameter.
FAILURE = 2
Operation failed, e.g. index out of bounds.
NOTSUPPORTED = 3
The platform does not support requested feature.
Trait Implementations§
Source§impl Debug for REQUEST_RESULT
impl Debug for REQUEST_RESULT
Source§impl Display for REQUEST_RESULT
impl Display for REQUEST_RESULT
Source§impl Error for REQUEST_RESULT
impl Error for REQUEST_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 REQUEST_RESULT
impl PartialEq for REQUEST_RESULT
impl StructuralPartialEq for REQUEST_RESULT
Auto Trait Implementations§
impl Freeze for REQUEST_RESULT
impl RefUnwindSafe for REQUEST_RESULT
impl Send for REQUEST_RESULT
impl Sync for REQUEST_RESULT
impl Unpin for REQUEST_RESULT
impl UnwindSafe for REQUEST_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