Enum parse_mediawiki_sql::error::ParseTypeContext [−][src]
pub enum ParseTypeContext<'a> {
Single {
input: &'a BStr,
label: &'static str,
},
Alternatives {
input: &'a BStr,
labels: Vec<&'static str>,
},
}Expand description
Used inside Error to store the names of the items that were being parsed.
Variants
Single
Alternatives
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParseTypeContext<'a>
impl<'a> Send for ParseTypeContext<'a>
impl<'a> Sync for ParseTypeContext<'a>
impl<'a> Unpin for ParseTypeContext<'a>
impl<'a> UnwindSafe for ParseTypeContext<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
