pub enum DataSectionError {
Initialization,
GearStackOverlaps(u32, u32),
EndAddressOverflow(u32),
EndAddressOutOfStaticMemory(u32, u32, u64),
DataSegmentsAmountLimit {
limit: u32,
actual: u32,
},
}
Expand description
Data section error in WASM module.
Variants§
Initialization
Unsupported initialization of data segment.
GearStackOverlaps(u32, u32)
Data section overlaps gear stack.
EndAddressOverflow(u32)
Data segment end address is out of possible 32 bits address space.
EndAddressOutOfStaticMemory(u32, u32, u64)
Data segment end address is out of static memory.
DataSegmentsAmountLimit
Data segment amount exceeds the limit.
Trait Implementations§
Source§impl Debug for DataSectionError
impl Debug for DataSectionError
Source§impl Display for DataSectionError
impl Display for DataSectionError
Source§impl From<DataSectionError> for CodeError
impl From<DataSectionError> for CodeError
Source§fn from(original: DataSectionError) -> CodeError
fn from(original: DataSectionError) -> CodeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataSectionError
impl RefUnwindSafe for DataSectionError
impl Send for DataSectionError
impl Sync for DataSectionError
impl Unpin for DataSectionError
impl UnwindSafe for DataSectionError
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