[−][src]Enum fuzzy_pickles::ErrorDetail
Information about a tokenization or parsing error
Variants
Tokenizer(ErrorDetail)
Parser(ErrorDetail)
Implementations
impl ErrorDetail
[src]
pub fn with_text<'a>(&'a self, text: &'a str) -> ErrorDetailText<'a>
[src]
Enhance the error with the source code
Trait Implementations
impl Debug for ErrorDetail
[src]
impl From<ErrorDetail> for ErrorDetail
[src]
fn from(other: ErrorDetail) -> Self
[src]
impl From<ErrorDetail> for ErrorDetail
[src]
fn from(other: ErrorDetail) -> Self
[src]
impl PartialEq<ErrorDetail> for ErrorDetail
[src]
fn eq(&self, other: &ErrorDetail) -> bool
[src]
fn ne(&self, other: &ErrorDetail) -> bool
[src]
impl StructuralPartialEq for ErrorDetail
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnwindSafe for ErrorDetail
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,
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, 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.
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>,