pub enum Class {
Skip(Reason),
Input(Reason),
Run(Reason),
}Expand description
Where a failure lands (2.7’s classes).
Variants§
Skip(Reason)
The object’s skip: a data reason, the budget class’s object-level
reasons (budget(input), a meter’s limit), or a decode’s.
Input(Reason)
The input fails (budget(dependency), and the site rules’ input
failures).
Run(Reason)
The run fails: host_io, host_memory or internal.
Trait Implementations§
impl Eq for Class
Source§impl From<SpriteError> for Class
impl From<SpriteError> for Class
Source§fn from(e: SpriteError) -> Self
fn from(e: SpriteError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Forget for Class
impl Freeze for Class
impl Move for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
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