mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Explicitly support memory size changing in between allocations (#9477)
Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -24,6 +24,9 @@ pub enum Error {
|
||||
/// Allocator run out of space.
|
||||
#[error("Allocator ran out of space")]
|
||||
AllocatorOutOfSpace,
|
||||
/// The client passed a memory instance which is smaller than previously observed.
|
||||
#[error("Shrinking of the underlying memory is observed")]
|
||||
MemoryShrinked,
|
||||
/// Some other error occurred.
|
||||
#[error("Other: {0}")]
|
||||
Other(&'static str),
|
||||
|
||||
Reference in New Issue
Block a user