#[non_exhaustive]pub enum Failure {
Input(InputError),
PositionOverflow,
Backend(BackendFault),
ResourceLimit,
}Expand description
Absorbing transform failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Input(InputError)
Attacker-controlled or otherwise malformed ordinary input.
PositionOverflow
Absolute source position can no longer be represented by usize.
Backend(BackendFault)
Internal backend integrity failure.
ResourceLimit
A caller-declared input, output, allocation, or frame limit was exceeded.
Implementations§
Trait Implementations§
impl Copy for Failure
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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