Enum rgmk::ReadError []

pub enum ReadError {
    Io(Error),
    ByteOrder(Error),
    String(StringReadError),
    InvalidChunkTypeId([u8; 4]),
}

Error when reading GameData from a reader.

Variants

An I/O error.

A byte order error.

A string read error.

Invalid chunk type id.

Trait Implementations

impl Debug for ReadError
[src]

Formats the value using the given formatter.

impl Display for ReadError

Formats the value using the given formatter. Read more

impl Error for ReadError

A short description of the error. Read more

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

impl From<Error> for ReadError

Performs the conversion.

impl From<Error> for ReadError

Performs the conversion.

impl From<StringReadError> for ReadError

Performs the conversion.