[−][src]Enum wasmer_vm::MemoryError
Error type describing things that can go wrong when operating on Wasm Memories.
Variants
Region(String)
Low level error with mmap.
The operation would cause the size of the memory to exceed the maximum or would cause an overflow leading to unindexable memory.
Fields of CouldNotGrow
The operation would cause the size of the memory size exceed the maximum.
Fields of InvalidMemory
reason: String
The reason why the provided memory is invalid.
Generic(String)
A user defined error value, used for error cases not listed above.
Trait Implementations
impl Clone for MemoryError
[src]
fn clone(&self) -> MemoryError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MemoryError
[src]
impl Display for MemoryError
[src]
impl Error for MemoryError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl Hash for MemoryError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<MemoryError> for MemoryError
[src]
fn eq(&self, other: &MemoryError) -> bool
[src]
fn ne(&self, other: &MemoryError) -> bool
[src]
impl StructuralPartialEq for MemoryError
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryError
impl Send for MemoryError
impl Sync for MemoryError
impl Unpin for MemoryError
impl UnwindSafe for MemoryError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,