pub struct ImportProblem {
pub line: usize,
pub message: String,
}Expand description
One problem with a data file.
Fields§
§line: usize1-based line, 0 for the whole file.
message: StringWhat is wrong.
Trait Implementations§
Source§impl Clone for ImportProblem
impl Clone for ImportProblem
Source§impl Debug for ImportProblem
impl Debug for ImportProblem
Source§impl Display for ImportProblem
impl Display for ImportProblem
impl Eq for ImportProblem
Source§impl Error for ImportProblem
impl Error for ImportProblem
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()
Source§impl PartialEq for ImportProblem
impl PartialEq for ImportProblem
impl StructuralPartialEq for ImportProblem
Auto Trait Implementations§
impl Forget for ImportProblem
impl Freeze for ImportProblem
impl Move for ImportProblem
impl RefUnwindSafe for ImportProblem
impl Send for ImportProblemwhere
RawVecInner: Send,
impl Sync for ImportProblemwhere
RawVecInner: Sync,
impl Unpin for ImportProblem
impl UnsafeUnpin for ImportProblem
impl UnwindSafe for ImportProblemwhere
RawVecInner: UnwindSafe,
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