pub enum ChoiceError {
GetFromStdin(GetFromStdinError<<usize as FromStr>::Err>),
NoDefault(usize),
}Variants§
Trait Implementations§
Source§impl Debug for ChoiceError
impl Debug for ChoiceError
Source§impl Display for ChoiceError
impl Display for ChoiceError
Source§impl Error for ChoiceError
impl Error for ChoiceError
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<GetFromStdinError<<usize as FromStr>::Err>> for ChoiceError
impl From<GetFromStdinError<<usize as FromStr>::Err>> for ChoiceError
Auto Trait Implementations§
impl Freeze for ChoiceError
impl !RefUnwindSafe for ChoiceError
impl Send for ChoiceError
impl Sync for ChoiceError
impl Unpin for ChoiceError
impl !UnwindSafe for ChoiceError
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