Enum tini::ParseError [−][src]
Enum for storing one of the possible errors code. The associated value represents the row index where the error occurred.
Variants
IncorrectSection(usize)
Section has incorrect syntax
IncorrectSyntax(usize)
Unknown syntax format
EmptyKey(usize)
Key has empty name
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
[src]impl Display for ParseError
[src]
impl Display for ParseError
[src]impl Error for ParseError
[src]
impl Error for ParseError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<ParseError> for Error
[src]
impl From<ParseError> for Error
[src]fn from(error: ParseError) -> Self
[src]
fn from(error: ParseError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more