Trait sequential_storage::StorageItemError
source · pub trait StorageItemError: Debug {
fn is_buffer_too_small(&self) -> bool;
}
Expand description
A trait that the storage item error needs to implement
Required Methods§
sourcefn is_buffer_too_small(&self) -> bool
fn is_buffer_too_small(&self) -> bool
Returns true if the error indicates that the buffer is too small to contain the storage item