pub enum IterationProfile {
InsertionOrder,
Sorted,
}Expand description
Raw table traversal policy. This is host configuration, not snapshot state.
Variants§
InsertionOrder
Preserve insertion order and the existing traversal fuel accounting.
Sorted
Booleans, then exact ascending numbers, then unsigned byte strings.
Identity-bearing keys raise a Lua error. Each call charges one fuel
unit per stored slot plus a conservative string-byte charge (ADR 0061);
a full traversal is quadratic in the slot count.
Restore with the same profile using crate::Host::iteration_profile.
Trait Implementations§
Source§impl Clone for IterationProfile
impl Clone for IterationProfile
impl Copy for IterationProfile
Source§impl Debug for IterationProfile
impl Debug for IterationProfile
Source§impl Default for IterationProfile
impl Default for IterationProfile
impl Eq for IterationProfile
Source§impl PartialEq for IterationProfile
impl PartialEq for IterationProfile
impl StructuralPartialEq for IterationProfile
Auto Trait Implementations§
impl Freeze for IterationProfile
impl RefUnwindSafe for IterationProfile
impl Send for IterationProfile
impl Sync for IterationProfile
impl Unpin for IterationProfile
impl UnsafeUnpin for IterationProfile
impl UnwindSafe for IterationProfile
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