Enum slr_parser::ErrorKind [−][src]
An enum describing the kind of the error, to allow treating different errors differenly.
Variants
A parse error has occured. This error is not recoverable.
An object could not be parsed from its ConfigElement representation. This error is recoverable, but the value the the object is in an unspecified state.
While parsing a struct from a table, an unknown field was found. This error is recoverable, and the struct is unaffected.
Custom(i32)
A custom error available to 3rd party implementors. The semantics are defined by the 3rd party.
Trait Implementations
impl Clone for ErrorKind
[src]
impl Copy for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,