pub struct FuelLimits { /* private fields */ }Expand description
Runtime limits for query execution.
Implementations§
Source§impl FuelLimits
impl FuelLimits
Sourcepub fn recursion_limit(self, limit: u32) -> Self
pub fn recursion_limit(self, limit: u32) -> Self
Set the recursion limit.
pub fn get_exec_fuel(&self) -> u32
pub fn get_recursion_limit(&self) -> u32
Trait Implementations§
Source§impl Clone for FuelLimits
impl Clone for FuelLimits
Source§fn clone(&self) -> FuelLimits
fn clone(&self) -> FuelLimits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FuelLimits
impl Debug for FuelLimits
Source§impl Default for FuelLimits
impl Default for FuelLimits
impl Copy for FuelLimits
Auto Trait Implementations§
impl Freeze for FuelLimits
impl RefUnwindSafe for FuelLimits
impl Send for FuelLimits
impl Sync for FuelLimits
impl Unpin for FuelLimits
impl UnwindSafe for FuelLimits
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