pub enum ExpressionWithoutBlockInnerPrefixError {
Operator(ParserError<<OperatorExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Index(ParserError<<IndexExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Range(ParserError<<RangeExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
MethodCall(ParserError<<MethodCallExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Call(ParserError<<CallExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Field(ParserError<<FieldExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
TupleIndexing(ParserError<<TupleIndexingExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Await(ParserError<<AwaitExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Closure(ParserError<<ClosureExpression as ParsableRecursive<ExpressionInner>>::Prefix>),
Unknown {
operator_err: ParserError<<OperatorExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
index_err: ParserError<<IndexExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
range_err: ParserError<<RangeExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
method_call_err: ParserError<<MethodCallExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
call_err: ParserError<<CallExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
field_err: ParserError<<FieldExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
tuple_indexing_err: ParserError<<TupleIndexingExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
await_err: ParserError<<AwaitExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
closure_err: ParserError<<ClosureExpression as ParsableRecursive<ExpressionInner>>::Prefix>,
},
}Variants§
Operator(ParserError<<OperatorExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Index(ParserError<<IndexExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Range(ParserError<<RangeExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
MethodCall(ParserError<<MethodCallExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Call(ParserError<<CallExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Field(ParserError<<FieldExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
TupleIndexing(ParserError<<TupleIndexingExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Await(ParserError<<AwaitExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Closure(ParserError<<ClosureExpression as ParsableRecursive<ExpressionInner>>::Prefix>)
Unknown
Fields
§
operator_err: ParserError<<OperatorExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
index_err: ParserError<<IndexExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
range_err: ParserError<<RangeExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
method_call_err: ParserError<<MethodCallExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
call_err: ParserError<<CallExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
field_err: ParserError<<FieldExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
tuple_indexing_err: ParserError<<TupleIndexingExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
await_err: ParserError<<AwaitExpression as ParsableRecursive<ExpressionInner>>::Prefix>§
closure_err: ParserError<<ClosureExpression as ParsableRecursive<ExpressionInner>>::Prefix>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExpressionWithoutBlockInnerPrefixError
impl RefUnwindSafe for ExpressionWithoutBlockInnerPrefixError
impl Send for ExpressionWithoutBlockInnerPrefixError
impl Sync for ExpressionWithoutBlockInnerPrefixError
impl Unpin for ExpressionWithoutBlockInnerPrefixError
impl UnsafeUnpin for ExpressionWithoutBlockInnerPrefixError
impl UnwindSafe for ExpressionWithoutBlockInnerPrefixError
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
Source§impl<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
impl<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
fn from_recursive_root(root: R, _parser: &mut Parser) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more