pub struct MaxValueError;Expand description
Error type returned when a value is the maximum for its type.
Trait Implementations§
Source§impl Clone for MaxValueError
impl Clone for MaxValueError
Source§fn clone(&self) -> MaxValueError
fn clone(&self) -> MaxValueError
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 MaxValueError
impl Debug for MaxValueError
Source§impl Display for MaxValueError
impl Display for MaxValueError
Source§impl Error for MaxValueError
impl Error for MaxValueError
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 MaxValueError
impl PartialEq for MaxValueError
impl Copy for MaxValueError
impl Eq for MaxValueError
impl StructuralPartialEq for MaxValueError
Auto Trait Implementations§
impl Freeze for MaxValueError
impl RefUnwindSafe for MaxValueError
impl Send for MaxValueError
impl Sync for MaxValueError
impl Unpin for MaxValueError
impl UnsafeUnpin for MaxValueError
impl UnwindSafe for MaxValueError
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