Struct dochy_json5::error::MyError[][src]

pub struct MyError {
    pub message: String,
    pub source: String,
    pub start: Option<usize>,
    pub end: Option<usize>,
    pub e: Error,
}

Fields

message: Stringsource: Stringstart: Option<usize>end: Option<usize>e: Error

Implementations

impl MyError[src]

pub fn new(s: String, start: usize) -> MyError[src]

Trait Implementations

impl Debug for MyError[src]

impl From<Error<Rule>> for MyError[src]

impl Into<Error> for MyError[src]

Auto Trait Implementations

impl !RefUnwindSafe for MyError

impl Send for MyError

impl Sync for MyError

impl Unpin for MyError

impl !UnwindSafe for MyError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.