#[repr(u8)]pub enum LoadMode {
Noop = 0,
UseGas = 1,
Resolve = 2,
Full = 3,
}
Expand description
Dictionary insertion mode.
Variants§
Noop = 0
Do not modify the default behavior.
UseGas = 1
Count the cost of loading the cell.
Resolve = 2
Resolve exotic cells such as libraries or merkle stuff.
Full = 3
Both UseGas
and Resolve
.
Implementations§
Trait Implementations§
impl Copy for LoadMode
impl Eq for LoadMode
impl StructuralPartialEq for LoadMode
Auto Trait Implementations§
impl Freeze for LoadMode
impl RefUnwindSafe for LoadMode
impl Send for LoadMode
impl Sync for LoadMode
impl Unpin for LoadMode
impl UnwindSafe for LoadMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self
to key
and returns true
if they are equal.