pub struct OperationBudget {
pub traversal_operations: usize,
pub search_operations: usize,
pub blocks_read: usize,
}Expand description
Budget for costly operations.
Fields§
§traversal_operations: usizeTotal allowed traversal operations.
search_operations: usizeTotal allowed search operations.
blocks_read: usizeTotal blocks allowed to be read.
Trait Implementations§
Source§impl Clone for OperationBudget
impl Clone for OperationBudget
Source§fn clone(&self) -> OperationBudget
fn clone(&self) -> OperationBudget
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 OperationBudget
impl Debug for OperationBudget
Auto Trait Implementations§
impl Freeze for OperationBudget
impl RefUnwindSafe for OperationBudget
impl Send for OperationBudget
impl Sync for OperationBudget
impl Unpin for OperationBudget
impl UnwindSafe for OperationBudget
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