Enum wasmer_vm::threadconditions::WaiterError
source · #[non_exhaustive]pub enum WaiterError {
Unimplemented,
TooManyWaiters,
AtomicsDisabled,
}
Expand description
Error that can occur during wait/notify calls.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unimplemented
Wait/Notify is not implemented for this memory
TooManyWaiters
To many waiter for an address
AtomicsDisabled
Atomic operations are disabled.
Trait Implementations§
source§impl Debug for WaiterError
impl Debug for WaiterError
source§impl Display for WaiterError
impl Display for WaiterError
source§impl Error for WaiterError
impl Error for WaiterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for WaiterError
impl RefUnwindSafe for WaiterError
impl Send for WaiterError
impl Sync for WaiterError
impl Unpin for WaiterError
impl UnwindSafe for WaiterError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.