pub enum StackEndError {
Initialization,
NotAligned(u32),
OutOfStatic(u32, u64),
}
Expand description
Stack end error in WASM module.
Variants§
Initialization
Unsupported initialization of gear stack end global variable.
NotAligned(u32)
Gear stack end offset is not aligned to wasm page size.
OutOfStatic(u32, u64)
Gear stack end is out of static memory.
Trait Implementations§
Source§impl Debug for StackEndError
impl Debug for StackEndError
Source§impl Display for StackEndError
impl Display for StackEndError
Source§impl From<StackEndError> for CodeError
impl From<StackEndError> for CodeError
Source§fn from(original: StackEndError) -> CodeError
fn from(original: StackEndError) -> CodeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StackEndError
impl RefUnwindSafe for StackEndError
impl Send for StackEndError
impl Sync for StackEndError
impl Unpin for StackEndError
impl UnwindSafe for StackEndError
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