pub enum IntStrError {
ErrorStr(ParseIntError),
ErrorInt(TryFromIntError),
}Available on crate feature
try_from_int_str only.Expand description
Enum to store the various types of errors that can cause parsing an integer or string to fail.
Variants§
ErrorStr(ParseIntError)
Core library ParseIntError structure.
ErrorInt(TryFromIntError)
Core library TryFromIntError structure.
Trait Implementations§
Source§impl Clone for IntStrError
impl Clone for IntStrError
Source§fn clone(&self) -> IntStrError
fn clone(&self) -> IntStrError
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 IntStrError
impl Debug for IntStrError
Source§impl PartialEq for IntStrError
impl PartialEq for IntStrError
impl Eq for IntStrError
impl StructuralPartialEq for IntStrError
Auto Trait Implementations§
impl Freeze for IntStrError
impl RefUnwindSafe for IntStrError
impl Send for IntStrError
impl Sync for IntStrError
impl Unpin for IntStrError
impl UnwindSafe for IntStrError
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