pub struct InsufficientCapacityError;Available on crate feature
arraystring only.Expand description
An error returned when there is no enough spare capacity.
Trait Implementations§
Source§impl Clone for InsufficientCapacityError
impl Clone for InsufficientCapacityError
Source§fn clone(&self) -> InsufficientCapacityError
fn clone(&self) -> InsufficientCapacityError
Returns a duplicate 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 Debug for InsufficientCapacityError
impl Debug for InsufficientCapacityError
Source§impl Display for InsufficientCapacityError
impl Display for InsufficientCapacityError
Source§impl Error for InsufficientCapacityError
Available on crate feature std only.
impl Error for InsufficientCapacityError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Hash for InsufficientCapacityError
impl Hash for InsufficientCapacityError
Source§impl Ord for InsufficientCapacityError
impl Ord for InsufficientCapacityError
Source§fn cmp(&self, other: &InsufficientCapacityError) -> Ordering
fn cmp(&self, other: &InsufficientCapacityError) -> 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 PartialOrd for InsufficientCapacityError
impl PartialOrd for InsufficientCapacityError
impl Copy for InsufficientCapacityError
impl Eq for InsufficientCapacityError
impl StructuralPartialEq for InsufficientCapacityError
Auto Trait Implementations§
impl Freeze for InsufficientCapacityError
impl RefUnwindSafe for InsufficientCapacityError
impl Send for InsufficientCapacityError
impl Sync for InsufficientCapacityError
impl Unpin for InsufficientCapacityError
impl UnwindSafe for InsufficientCapacityError
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