Enum elma::ElmaError[][src]

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

Across files are not supported.

Invalid level file.

Invalid level file name.

Invalid replay file.

Invalid state file.

Invalid LGR file.

Invalid gravity value.

Invalid object value.

Invalid clipping value.

End-of-data marker mismatch.

End-of-file marker mismatch.

Invalid event value.

End-of-replay marker mismatch.

Invalid time format.

Too short padding.

String contains non-ASCII characters.

Input/output errors from std::io use.

String errors from std::String.

Trait Implementations

impl Debug for ElmaError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ElmaError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for ElmaError
[src]

Performs the conversion.

impl From<FromUtf8Error> for ElmaError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ElmaError

impl Sync for ElmaError