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

pub enum Error {
    ExpectedTitle,
    ExpectedAttemptCount,
    ExpectedSegmentName,
    ExpectedSplitTime,
    ExpectedBestSegmentTime,
    Attempt(ParseIntError),
    Time(ParseError),
    Io(Error),
}

The Error type for splits files that couldn't be parsed by the FaceSplit Parser.

Variants

ExpectedTitle

Expected the title, but didn't find it.

ExpectedAttemptCount

Expected the attempt count, but didn't find it.

ExpectedSegmentName

Expected the name of the segment, but didn't find it.

ExpectedSplitTime

Expected the split time, but didn't find it.

ExpectedBestSegmentTime

Expected the best segment time, but didn't find it.

Attempt(ParseIntError)

Failed to parse the amount of attempts.

Time(ParseError)

Failed to parse a time.

Io(Error)

Failed to read from the source.

Trait Implementations

impl From<ParseIntError> for Error

impl From<ParseError> 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.