Enum rgmk::ReadError
[−]
pub enum ReadError { Io(Error), ByteOrder(Error), String(StringReadError), InvalidChunkTypeId([u8; 4]), }
Error when reading GameData from a reader.
Variants
Io(Error)
An I/O error.
ByteOrder(Error)
A byte order error.
String(StringReadError)
A string read error.
InvalidChunkTypeId([u8; 4])
Invalid chunk type id.
Trait Implementations
impl Debug for ReadError
[src]
impl Display for ReadError
impl Error for ReadError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for ReadError
impl From<Error> for ReadError
impl From<StringReadError> for ReadError
fn from(err: StringReadError) -> ReadError
Performs the conversion.