[−][src]Enum rspirv::binary::ParseState
Parser State.
Most of the error variants will retain the error location for both byte offset (starting from 0) and instruction number (starting from 1).
Variants
Parsing completed
Consumer requested to stop parse
Consumer errored out with the given error
HeaderIncomplete(DecodeError)
Incomplete module header
Incorrect module header
Unsupported endianness
Zero instruction word count at (byte offset, inst number)
Unknown opcode at (byte offset, inst number, opcode)
Expected more operands (byte offset, inst number)
found redundant operands (byte offset, inst number)
OperandError(DecodeError)
Errored out when decoding operand with the given error
Unsupported type (byte offset, inst number)
Incorrect SpecConstantOp Integer (byte offset, inst number)
Trait Implementations
impl Debug for State
[src]
impl Display for State
[src]
impl Error for State
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for State
[src]
fn from(err: DecodeError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for State
impl !Send for State
impl !Sync for State
impl Unpin for State
impl !UnwindSafe for State
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,