pub struct InvalidSizeHint;Expand description
Error type for reporting invalid size hints where the size hint would be empty or invalid.
Trait Implementations§
Source§impl Clone for InvalidSizeHint
impl Clone for InvalidSizeHint
Source§fn clone(&self) -> InvalidSizeHint
fn clone(&self) -> InvalidSizeHint
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 InvalidSizeHint
impl Debug for InvalidSizeHint
Source§impl Display for InvalidSizeHint
impl Display for InvalidSizeHint
Source§impl Error for InvalidSizeHint
impl Error for InvalidSizeHint
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 PartialEq for InvalidSizeHint
impl PartialEq for InvalidSizeHint
impl Copy for InvalidSizeHint
impl Eq for InvalidSizeHint
impl StructuralPartialEq for InvalidSizeHint
Auto Trait Implementations§
impl Freeze for InvalidSizeHint
impl RefUnwindSafe for InvalidSizeHint
impl Send for InvalidSizeHint
impl Sync for InvalidSizeHint
impl Unpin for InvalidSizeHint
impl UnsafeUnpin for InvalidSizeHint
impl UnwindSafe for InvalidSizeHint
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