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§
source§impl Debug for ChumskyError
impl Debug for ChumskyError
source§impl Display for ChumskyError
impl Display for ChumskyError
source§impl Error for ChumskyError
impl Error for ChumskyError
source§fn 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 · source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more