pub enum DataDrivenError {
Parse(String),
Io(Error),
WithContext {
line: usize,
filename: String,
inner: Box<DataDrivenError>,
},
Argument(String),
DidntUseAllArguments(Vec<String>),
}Variants§
Trait Implementations§
Source§impl Debug for DataDrivenError
impl Debug for DataDrivenError
Source§impl Display for DataDrivenError
impl Display for DataDrivenError
Source§impl Error for DataDrivenError
impl Error for DataDrivenError
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()
Auto Trait Implementations§
impl Freeze for DataDrivenError
impl !RefUnwindSafe for DataDrivenError
impl Send for DataDrivenError
impl Sync for DataDrivenError
impl Unpin for DataDrivenError
impl UnsafeUnpin for DataDrivenError
impl !UnwindSafe for DataDrivenError
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