pub struct StorageError<T>(pub T);
Expand description
Error that occurs when a call that attempts to increase the number of items in the FixedSliceVec fails due to insufficient storage capacity.
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Clone> Clone for StorageError<T>
impl<T: Clone> Clone for StorageError<T>
Source§fn clone(&self) -> StorageError<T>
fn clone(&self) -> StorageError<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T> Debug for StorageError<T>
impl<T> Debug for StorageError<T>
Source§impl<T: Ord> Ord for StorageError<T>
impl<T: Ord> Ord for StorageError<T>
Source§fn cmp(&self, other: &StorageError<T>) -> Ordering
fn cmp(&self, other: &StorageError<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for StorageError<T>
impl<T: PartialEq> PartialEq for StorageError<T>
Source§impl<T: PartialOrd> PartialOrd for StorageError<T>
impl<T: PartialOrd> PartialOrd for StorageError<T>
impl<T: Eq> Eq for StorageError<T>
impl<T> StructuralPartialEq for StorageError<T>
Auto Trait Implementations§
impl<T> Freeze for StorageError<T>where
T: Freeze,
impl<T> RefUnwindSafe for StorageError<T>where
T: RefUnwindSafe,
impl<T> Send for StorageError<T>where
T: Send,
impl<T> Sync for StorageError<T>where
T: Sync,
impl<T> Unpin for StorageError<T>where
T: Unpin,
impl<T> UnwindSafe for StorageError<T>where
T: UnwindSafe,
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