pub struct InvalidCapacity;Expand description
Trait Implementations§
Source§impl Clone for InvalidCapacity
impl Clone for InvalidCapacity
Source§fn clone(&self) -> InvalidCapacity
fn clone(&self) -> InvalidCapacity
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 InvalidCapacity
impl Debug for InvalidCapacity
Source§impl Display for InvalidCapacity
impl Display for InvalidCapacity
Source§impl Error for InvalidCapacity
impl Error for InvalidCapacity
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 From<InvalidCapacity> for Error
impl From<InvalidCapacity> for Error
Source§fn from(err: InvalidCapacity) -> Self
fn from(err: InvalidCapacity) -> Self
Converts to this type from the input type.
impl Copy for InvalidCapacity
Auto Trait Implementations§
impl Freeze for InvalidCapacity
impl RefUnwindSafe for InvalidCapacity
impl Send for InvalidCapacity
impl Sync for InvalidCapacity
impl Unpin for InvalidCapacity
impl UnwindSafe for InvalidCapacity
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