Struct ldap_types::basic::ChumskyError
source · [−]pub struct ChumskyError {
pub description: String,
pub source: String,
pub errors: Vec<Simple<char>>,
}
Expand description
a wrapped error in case parsing fails to get proper error output the chumsky errors themselves lack Display and std::error::Error implementations
Fields
description: String
description of the object we were trying to parse
source: String
source string for parsing
errors: Vec<Simple<char>>
errors encountered during parsing
Trait Implementations
sourceimpl Debug for ChumskyError
impl Debug for ChumskyError
sourceimpl Display for ChumskyError
impl Display for ChumskyError
sourceimpl Error for ChumskyError
impl Error for ChumskyError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for ChumskyError
impl Send for ChumskyError
impl Sync for ChumskyError
impl Unpin for ChumskyError
impl UnwindSafe for ChumskyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more