[−][src]Enum liblet::production::ProductionError
Variants
Error returned for trying to create a Production with an empty / missing left hand side. Left hand side of productions should be an ordered collection of n >= 1 symbols.
Error returned for trying to create a Production with an empty / missing right hand side. Right hand side of productions should be an ordered collection of n >= 1 symbols.
SymbolError(SymbolError)
Error returned for trying to create a Production with invalid symbols. To be expected when creating productions from raw string inputs.
FormatError(TokenizerError)
Error returned for trying to create a Production with a bad formatted raw input string. Properly formatted productions as strings are described in the Production documentation.
Trait Implementations
impl Clone for ProductionError
[src]
fn clone(&self) -> ProductionError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProductionError
[src]
impl Display for ProductionError
[src]
impl Eq for ProductionError
[src]
impl Error for ProductionError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ProductionError> for GrammarError
[src]
fn from(e: ProductionError) -> Self
[src]
impl From<TokenizerError> for ProductionError
[src]
fn from(e: TokenizerError) -> Self
[src]
impl Hash for ProductionError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ProductionError> for ProductionError
[src]
fn eq(&self, other: &ProductionError) -> bool
[src]
fn ne(&self, other: &ProductionError) -> bool
[src]
impl StructuralEq for ProductionError
[src]
impl StructuralPartialEq for ProductionError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProductionError
impl Send for ProductionError
impl Sync for ProductionError
impl Unpin for ProductionError
impl UnwindSafe for ProductionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,