[][src]Enum elma::ElmaError

pub enum ElmaError {
    AcrossUnsupported,
    InvalidLevelFile,
    InvalidLevelFilename,
    InvalidReplayFile,
    InvalidStateFile,
    InvalidLGRFile(LGRError),
    InvalidGravity(i32),
    InvalidObject(i32),
    InvalidClipping(i32),
    EODMismatch,
    EOFMismatch,
    InvalidEvent(u8),
    EORMismatch,
    InvalidTimeFormat,
    PaddingTooShort(isize),
    NonASCII,
    Io(ErrorKind),
    StringFromUtf8(usize),
}

General errors.

Variants

AcrossUnsupported

Across files are not supported.

InvalidLevelFile

Invalid level file.

InvalidLevelFilename

Invalid level file name.

InvalidReplayFile

Invalid replay file.

InvalidStateFile

Invalid state file.

InvalidLGRFile(LGRError)

Invalid LGR file.

InvalidGravity(i32)

Invalid gravity value.

InvalidObject(i32)

Invalid object value.

InvalidClipping(i32)

Invalid clipping value.

EODMismatch

End-of-data marker mismatch.

EOFMismatch

End-of-file marker mismatch.

InvalidEvent(u8)

Invalid event value.

EORMismatch

End-of-replay marker mismatch.

InvalidTimeFormat

Invalid time format.

PaddingTooShort(isize)

Too short padding.

NonASCII

String contains non-ASCII characters.

Io(ErrorKind)

Input/output errors from std::io use.

StringFromUtf8(usize)

String errors from std::String.

Trait Implementations

impl PartialEq<ElmaError> for ElmaError[src]

impl From<Error> for ElmaError[src]

impl From<FromUtf8Error> for ElmaError[src]

impl Debug for ElmaError[src]

Auto Trait Implementations

impl Send for ElmaError

impl Sync for ElmaError

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.