#[non_exhaustive]pub enum ApplyInvalid {
Type,
ValueTooLarge,
MemoryLimit,
NotSavable,
}Expand description
The reason a check of apply failed.
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.
Type
The value does not match the declared type of the variable (including values of types declared in the REPL).
ValueTooLarge
The size of one value exceeds max_value_bytes.
MemoryLimit
The total of values held in variables exceeds max_total_bytes.
NotSavable
A shape that cannot be saved (nesting too deep, and so on).
Trait Implementations§
Source§impl Clone for ApplyInvalid
impl Clone for ApplyInvalid
impl Copy for ApplyInvalid
Source§impl Debug for ApplyInvalid
impl Debug for ApplyInvalid
impl Eq for ApplyInvalid
Source§impl PartialEq for ApplyInvalid
impl PartialEq for ApplyInvalid
impl StructuralPartialEq for ApplyInvalid
Auto Trait Implementations§
impl Forget for ApplyInvalid
impl Freeze for ApplyInvalid
impl Move for ApplyInvalid
impl RefUnwindSafe for ApplyInvalid
impl Send for ApplyInvalid
impl Sync for ApplyInvalid
impl Unpin for ApplyInvalid
impl UnsafeUnpin for ApplyInvalid
impl UnwindSafe for ApplyInvalid
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