Enum gear_core::memory::MemoryError
source · pub enum MemoryError {
AccessOutOfBounds,
}Expand description
Core memory error.
Variants§
AccessOutOfBounds
The error occurs in attempt to access memory outside wasm program memory.
Trait Implementations§
source§impl Clone for MemoryError
impl Clone for MemoryError
source§fn clone(&self) -> MemoryError
fn clone(&self) -> MemoryError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemoryError
impl Debug for MemoryError
source§impl Display for MemoryError
impl Display for MemoryError
source§impl PartialEq for MemoryError
impl PartialEq for MemoryError
source§fn eq(&self, other: &MemoryError) -> bool
fn eq(&self, other: &MemoryError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MemoryError
impl StructuralEq for MemoryError
impl StructuralPartialEq for MemoryError
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§
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