pub struct ParseErrors { /* private fields */ }
Expand description

Represents an entity that can handle lexical and syntactic errors

Implementations§

Creates a new instance of the Errors structure

Handles the end-of-input error

Handles the unexpected character error

Handles the unexpected token error

Handles the incorrect encoding sequence error

Handles the incorrect encoding sequence error

Gets the number of errors

Trait Implementations§

Implementation of the indexer operator for immutable ParseErrors

The returned type after indexing.
Performs the indexing (container[index]) operation. Read more

Implementation of Iterable for ParseErrors

The type of the elements being iterated over.
The type of the iterator.
Creates an iterator over this Iterable structure.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.