Enum piston_window::Error []

pub enum Error {
    Texture(CombinedError),
    IoError(Error),
}

An enum to represent various possible run-time errors that may occur.

Variants

Texture(CombinedError)

An error happened when creating a gfx texture.

IoError(Error)

An io error happened when reading font files.

Trait Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

impl From<CombinedError> for Error

fn from(tex_err: CombinedError) -> Error

impl From<Error> for Error

fn from(io_error: Error) -> Error