Enum libsm64::Error[][src]

pub enum Error {
    Io(Error),
    InvalidMarioPosition,
    InvalidRom(String),
}
Expand description

An error that can occur

Variants

Io(Error)

Tuple Fields

0: Error

An IO error

InvalidMarioPosition

When creating Mario he must be positioned above a surface

InvalidRom(String)

Tuple Fields

0: String

The rom proivided must be Super Mario 64 (USA), with a SHA1 hash of ‘9bef1128717f958171a4afac3ed78ee2bb4e86ce’

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.