pub enum WaitStatus {
AlreadySignaled = 37_146,
TimeoutExpired = 37_147,
ConditionSatisfied = 37_148,
WaitFailed = 37_149,
}
Expand description
Constants passed to clientWaitSync
Variants§
AlreadySignaled = 37_146
Indicates that the sync object was signaled when this method was called.
TimeoutExpired = 37_147
Indicates that the timeout time passed and that the sync object did not become signaled.
ConditionSatisfied = 37_148
Indicates that the sync object was signaled before the timeout expired.
WaitFailed = 37_149
Indicates that an error occurred during the execution.
Trait Implementations§
Source§impl Clone for WaitStatus
impl Clone for WaitStatus
Source§fn clone(&self) -> WaitStatus
fn clone(&self) -> WaitStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WaitStatus
impl Debug for WaitStatus
Source§impl From<WaitStatus> for JsValue
impl From<WaitStatus> for JsValue
Source§fn from(value: WaitStatus) -> Self
fn from(value: WaitStatus) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WaitStatus
impl FromWasmAbi for WaitStatus
Source§impl IntoWasmAbi for WaitStatus
impl IntoWasmAbi for WaitStatus
Source§impl OptionFromWasmAbi for WaitStatus
impl OptionFromWasmAbi for WaitStatus
Source§impl OptionIntoWasmAbi for WaitStatus
impl OptionIntoWasmAbi for WaitStatus
Source§impl TryFromJsValue for WaitStatus
impl TryFromJsValue for WaitStatus
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <WaitStatus as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <WaitStatus as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for WaitStatus
impl VectorFromWasmAbi for WaitStatus
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WaitStatus]>
Source§impl VectorIntoJsValue for WaitStatus
impl VectorIntoJsValue for WaitStatus
fn vector_into_jsvalue(vector: Box<[WaitStatus]>) -> JsValue
Source§impl VectorIntoWasmAbi for WaitStatus
impl VectorIntoWasmAbi for WaitStatus
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WaitStatus]>) -> Self::Abi
Source§impl WasmDescribeVector for WaitStatus
impl WasmDescribeVector for WaitStatus
impl Copy for WaitStatus
Auto Trait Implementations§
impl Freeze for WaitStatus
impl RefUnwindSafe for WaitStatus
impl Send for WaitStatus
impl Sync for WaitStatus
impl Unpin for WaitStatus
impl UnwindSafe for WaitStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.