pub enum VerifyFailure {
Input(Vec<VerifyError>),
Output(Vec<VerifyError>),
}Expand description
Which verify step failed in verify_then_optimize.
Variants§
Input(Vec<VerifyError>)
Input descriptor was invalid before any rewrites ran.
Output(Vec<VerifyError>)
The rewrite pipeline produced an invalid descriptor - a real bug in the rewrite stack. The fuzz harness gates this; if you hit it in production, it’s a bug to file.
Implementations§
Source§impl VerifyFailure
impl VerifyFailure
pub fn errors(&self) -> &[VerifyError]
Trait Implementations§
Source§impl Clone for VerifyFailure
impl Clone for VerifyFailure
Source§fn clone(&self) -> VerifyFailure
fn clone(&self) -> VerifyFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifyFailure
impl Debug for VerifyFailure
impl Eq for VerifyFailure
Source§impl PartialEq for VerifyFailure
impl PartialEq for VerifyFailure
impl StructuralPartialEq for VerifyFailure
Auto Trait Implementations§
impl Freeze for VerifyFailure
impl RefUnwindSafe for VerifyFailure
impl Send for VerifyFailure
impl Sync for VerifyFailure
impl Unpin for VerifyFailure
impl UnsafeUnpin for VerifyFailure
impl UnwindSafe for VerifyFailure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.