Enum radiation::ParseErrorKind
source · [−]pub enum ParseErrorKind {
Nom(NomErrorKind),
Limit(LimitError),
UnknownTag {
tag: String,
hint: &'static str,
},
Custom(NomErrorKind, String),
}Variants
Nom(NomErrorKind)
Limit(LimitError)
UnknownTag
Custom(NomErrorKind, String)
Implementations
sourceimpl ParseErrorKind
impl ParseErrorKind
pub fn unknown_tag<T>(tag: T, hint: &'static str) -> Self where
T: Debug,
pub fn error<I>(self, input: I) -> Err<ParseError<I>>
Trait Implementations
sourceimpl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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