pub enum FunctionalError {
Io(String),
Parse(String),
Unsupported {
detail: String,
},
Validation {
detail: String,
},
Bounds {
addr: u64,
size: usize,
arena_len: usize,
},
UndefinedReg {
name: String,
},
StepBudgetExceeded {
steps: u64,
},
Sanitize(Finding),
DebugBreak,
Internal(String),
}Variants§
Io(String)
Parse(String)
Unsupported
Validation
Bounds
UndefinedReg
StepBudgetExceeded
Sanitize(Finding)
SoftGPU Phase 8 sanitizer finding (fail-fast or hard fault).
DebugBreak
SoftGPU Phase 9 debugger requested a break (snapshot lives in DebugSession).
Internal(String)
Trait Implementations§
Source§impl Clone for FunctionalError
impl Clone for FunctionalError
Source§fn clone(&self) -> FunctionalError
fn clone(&self) -> FunctionalError
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 FunctionalError
impl Debug for FunctionalError
Source§impl Display for FunctionalError
impl Display for FunctionalError
impl Eq for FunctionalError
Source§impl Error for FunctionalError
impl Error for FunctionalError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for FunctionalError
impl PartialEq for FunctionalError
impl StructuralPartialEq for FunctionalError
Auto Trait Implementations§
impl Freeze for FunctionalError
impl RefUnwindSafe for FunctionalError
impl Send for FunctionalError
impl Sync for FunctionalError
impl Unpin for FunctionalError
impl UnsafeUnpin for FunctionalError
impl UnwindSafe for FunctionalError
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