pub struct OutOfRange;Expand description
A value outside the range of the type it converts to.
Trait Implementations§
Source§impl Clone for OutOfRange
impl Clone for OutOfRange
impl Copy for OutOfRange
Source§impl Debug for OutOfRange
impl Debug for OutOfRange
Source§impl Display for OutOfRange
impl Display for OutOfRange
impl Eq for OutOfRange
Source§impl Error for OutOfRange
impl Error for OutOfRange
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 OutOfRange
impl PartialEq for OutOfRange
impl StructuralPartialEq for OutOfRange
Auto Trait Implementations§
impl Freeze for OutOfRange
impl RefUnwindSafe for OutOfRange
impl Send for OutOfRange
impl Sync for OutOfRange
impl Unpin for OutOfRange
impl UnsafeUnpin for OutOfRange
impl UnwindSafe for OutOfRange
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