pub struct DbParseError {
pub path: String,
pub line: usize,
pub message: String,
}Expand description
A .db parse failure, naming the file and the line that caused it.
Fields§
§path: String§line: usize§message: StringTrait Implementations§
Source§impl Clone for DbParseError
impl Clone for DbParseError
Source§fn clone(&self) -> DbParseError
fn clone(&self) -> DbParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DbParseError
impl Debug for DbParseError
Source§impl Display for DbParseError
impl Display for DbParseError
impl Eq for DbParseError
Source§impl Error for DbParseError
impl Error for DbParseError
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 DbParseError
impl PartialEq for DbParseError
impl StructuralPartialEq for DbParseError
Auto Trait Implementations§
impl Freeze for DbParseError
impl RefUnwindSafe for DbParseError
impl Send for DbParseError
impl Sync for DbParseError
impl Unpin for DbParseError
impl UnsafeUnpin for DbParseError
impl UnwindSafe for DbParseError
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