pub struct MapBudget {
pub node_reads: usize,
pub read_bytes: usize,
pub node_writes: usize,
pub write_bytes: usize,
}Expand description
Remaining work allowance. Reads/writes are charged before the store call; read bytes are charged from the actual returned node, not its maximum size.
Fields§
§node_reads: usize§read_bytes: usize§node_writes: usize§write_bytes: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapBudget
impl RefUnwindSafe for MapBudget
impl Send for MapBudget
impl Sync for MapBudget
impl Unpin for MapBudget
impl UnsafeUnpin for MapBudget
impl UnwindSafe for MapBudget
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