pub struct EnumFromIntError(pub i32);Expand description
The error type returned when unable to convert an integer to an enum value.
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Clone for EnumFromIntError
impl Clone for EnumFromIntError
Source§fn clone(&self) -> EnumFromIntError
fn clone(&self) -> EnumFromIntError
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 EnumFromIntError
impl Debug for EnumFromIntError
Source§impl Display for EnumFromIntError
Available on try_from and crate feature std only.
impl Display for EnumFromIntError
Available on
try_from and crate feature std only.Source§impl PartialEq for EnumFromIntError
impl PartialEq for EnumFromIntError
impl Copy for EnumFromIntError
impl Eq for EnumFromIntError
impl StructuralPartialEq for EnumFromIntError
Auto Trait Implementations§
impl Freeze for EnumFromIntError
impl RefUnwindSafe for EnumFromIntError
impl Send for EnumFromIntError
impl Sync for EnumFromIntError
impl Unpin for EnumFromIntError
impl UnwindSafe for EnumFromIntError
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