pub struct InsufficientStorage<T = ()>(pub T);Expand description
507 Insufficient Storage
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for InsufficientStorage<T>
impl<T: Clone> Clone for InsufficientStorage<T>
Source§fn clone(&self) -> InsufficientStorage<T>
fn clone(&self) -> InsufficientStorage<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy> Copy for InsufficientStorage<T>
Source§impl<T: Debug> Debug for InsufficientStorage<T>
impl<T: Debug> Debug for InsufficientStorage<T>
Source§impl<T, R, S> From<InsufficientStorage<R>> for ErrorSet<S, T>
impl<T, R, S> From<InsufficientStorage<R>> for ErrorSet<S, T>
Source§fn from(err: InsufficientStorage<R>) -> Self
fn from(err: InsufficientStorage<R>) -> Self
Converts to this type from the input type.
Source§impl<T> StatusWrapper for InsufficientStorage<T>
impl<T> StatusWrapper for InsufficientStorage<T>
Source§const STATUS_CODE: StatusCode = StatusCode::INSUFFICIENT_STORAGE
const STATUS_CODE: StatusCode = StatusCode::INSUFFICIENT_STORAGE
The status code associated with type.
Source§type Pure = InsufficientStorage
type Pure = InsufficientStorage
The pure type of this status wrapper, without any inner value.
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Convert this status wrapper into its inner value.
Auto Trait Implementations§
impl<T> Freeze for InsufficientStorage<T>where
T: Freeze,
impl<T> RefUnwindSafe for InsufficientStorage<T>where
T: RefUnwindSafe,
impl<T> Send for InsufficientStorage<T>where
T: Send,
impl<T> Sync for InsufficientStorage<T>where
T: Sync,
impl<T> Unpin for InsufficientStorage<T>where
T: Unpin,
impl<T> UnsafeUnpin for InsufficientStorage<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for InsufficientStorage<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