Enum spirv_utils::parser::ParseError [] [src]

pub enum ParseError {
    DuplicateId(Idusize),
    UnknownOpcode(u16),
    IdOutOfRange(Id),
    InvalidParamValue(u32, &'static str),
    InstructionTooShort,
    IoError(Error),
}

Variants

DuplicateId(Idusize)UnknownOpcode(u16)IdOutOfRange(Id)InvalidParamValue(u32, &'static str)InstructionTooShortIoError(Error)

Trait Implementations

impl Debug for ParseError
[src]

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

Formats the value using the given formatter.

impl From<Error> for ParseError
[src]

fn from(e: Error) -> ParseError

Performs the conversion.

impl Display for ParseError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ParseError
[src]

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