pub enum ClapIntError {
Generic(String),
Inquire(InquireError),
Clap(Error),
WrapClap {
args: Vec<String>,
clap_error: Error,
},
}
Variants§
Trait Implementations§
Source§impl Debug for ClapIntError
impl Debug for ClapIntError
Source§impl Display for ClapIntError
impl Display for ClapIntError
Source§impl Error for ClapIntError
impl Error for ClapIntError
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<Error> for ClapIntError
impl From<Error> for ClapIntError
Source§impl From<InquireError> for ClapIntError
impl From<InquireError> for ClapIntError
Source§fn from(source: InquireError) -> Self
fn from(source: InquireError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClapIntError
impl !RefUnwindSafe for ClapIntError
impl Send for ClapIntError
impl Sync for ClapIntError
impl Unpin for ClapIntError
impl !UnwindSafe for ClapIntError
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