[][src]Enum camel_up::camel::RaceParseError

pub enum RaceParseError {
    NotAMarker(NotAMarker),
    CamelInOasis,
    CamelInFataMorgana,
    ToManyAdjustmentsInOnePosition,
    ConsecutiveAdjustments,
}

When parsing of Race goes wrong, this enumeration tells you precisely what went down.

Variants

NotAMarker(NotAMarker)

a race consists solely of markers, and this isn't a marker.

CamelInOasis

a camel can't be in an oasis.

CamelInFataMorgana

a camel can't be in a fata morgana.

ToManyAdjustmentsInOnePosition

adjustments can't be in the same position.

ConsecutiveAdjustments

adjustments can't be consecutive.

Trait Implementations

impl Debug for RaceParseError[src]

impl From<NotAMarker> for RaceParseError[src]

impl PartialEq<RaceParseError> for RaceParseError[src]

impl StructuralPartialEq for RaceParseError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.