pub struct ProjectionBudget {
pub max_inputs: usize,
pub max_output_bytes: usize,
pub max_fuel: u64,
pub max_memory_bytes: usize,
}Expand description
Fuel, memory, output, and selected-input ceilings for projection.
Fields§
§max_inputs: usizeMaximum selected facts.
max_output_bytes: usizeMaximum canonical output bytes.
max_fuel: u64Maximum wasm fuel, when the closed wasm route is used.
max_memory_bytes: usizeMaximum wasm linear-memory bytes.
Trait Implementations§
Source§impl Clone for ProjectionBudget
impl Clone for ProjectionBudget
Source§fn clone(&self) -> ProjectionBudget
fn clone(&self) -> ProjectionBudget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectionBudget
Source§impl Debug for ProjectionBudget
impl Debug for ProjectionBudget
impl Eq for ProjectionBudget
Source§impl PartialEq for ProjectionBudget
impl PartialEq for ProjectionBudget
impl StructuralPartialEq for ProjectionBudget
Auto Trait Implementations§
impl Freeze for ProjectionBudget
impl RefUnwindSafe for ProjectionBudget
impl Send for ProjectionBudget
impl Sync for ProjectionBudget
impl Unpin for ProjectionBudget
impl UnsafeUnpin for ProjectionBudget
impl UnwindSafe for ProjectionBudget
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