pub enum MemoryError {
OutOfBounds,
OutOfMemory,
AllocationFailed,
PageTooSmall,
}Variants§
Trait Implementations§
Source§impl Clone for MemoryError
impl Clone for MemoryError
Source§fn clone(&self) -> MemoryError
fn clone(&self) -> MemoryError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq for MemoryError
Source§impl From<AllocError> for MemoryError
impl From<AllocError> for MemoryError
Source§fn from(e: AllocError) -> MemoryError
fn from(e: AllocError) -> MemoryError
Converts to this type from the input type.
Source§impl From<MemoryError> for ValidationError
impl From<MemoryError> for ValidationError
Source§fn from(value: MemoryError) -> Self
fn from(value: MemoryError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryError> for InterpreterBreak
impl From<MemoryError> for InterpreterBreak
Source§fn from(e: MemoryError) -> Self
fn from(e: MemoryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MemoryError
impl PartialEq for MemoryError
impl StructuralPartialEq for MemoryError
Auto Trait Implementations§
impl Freeze for MemoryError
impl RefUnwindSafe for MemoryError
impl Send for MemoryError
impl Sync for MemoryError
impl Unpin for MemoryError
impl UnsafeUnpin 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