pub struct Located<I, E> { /* private fields */ }
Expand description

An internal type used to facilitate error prioritisation. You shouldn’t need to interact with this type during normal use of the crate.

Implementations

Create a new Located with the give input position and error.

Get the maximum of two located errors. If they hold the same position in the input, merge them.

Map the error with the given function.

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

The number of items that this chain link consists of.

Append the elements in this link to the chain.

Performs the conversion.

Performs the conversion.

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.