pub struct ConversionRange;
Expand description
An error type indicating that a conversion failed because the target type could not store the initial value.
Trait Implementations§
Source§impl Clone for ConversionRange
impl Clone for ConversionRange
Source§fn clone(&self) -> ConversionRange
fn clone(&self) -> ConversionRange
Returns a copy 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 ConversionRange
impl Debug for ConversionRange
Source§impl Display for ConversionRange
impl Display for ConversionRange
Source§impl Error for ConversionRange
Available on crate feature std
only.
impl Error for ConversionRange
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 From<ConversionRange> for Error
impl From<ConversionRange> for Error
Source§fn from(err: ConversionRange) -> Self
fn from(err: ConversionRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConversionRange
impl PartialEq for ConversionRange
Source§impl TryFrom<Error> for ConversionRange
impl TryFrom<Error> for ConversionRange
impl Copy for ConversionRange
impl Eq for ConversionRange
impl StructuralPartialEq for ConversionRange
Auto Trait Implementations§
impl Freeze for ConversionRange
impl RefUnwindSafe for ConversionRange
impl Send for ConversionRange
impl Sync for ConversionRange
impl Unpin for ConversionRange
impl UnwindSafe for ConversionRange
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