[]Enum livesplit_core::run::parser::portal2_live_timer::Error

pub enum Error {
    ExpectedMap,
    ExpectedMapName,
    ExpectedDifferentMapName,
    ExpectedStartTicks,
    ExpectedEndTicks,
    Ticks(ParseFloatError),
    Io(Error),
}

The Error types for splits files that couldn't be parsed by the Portal 2 Live Timer Parser.

Variants

ExpectedMap

Expected another map, but didn't find it.

ExpectedMapName

Expected the map's name, but didn't find it.

ExpectedDifferentMapName

Expected a different map.

ExpectedStartTicks

Expected the start ticks of the map, but didn't find it.

ExpectedEndTicks

Expected the end ticks of the map, but didn't find it.

Ticks(ParseFloatError)

Couldn't parse the amount of ticks.

Io(Error)

Failed to read from the source.

Trait Implementations

impl From<ParseFloatError> for Error

impl From<Error> for Error

impl Debug for Error[src]

impl Display for Error

impl Error for Error

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0[src]

Gets the TypeId of self

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?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.

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

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

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

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.