pub struct SliceBudget { /* private fields */ }Expand description
One combined operation budget for enumeration, invalidation and delivery.
Implementations§
Source§impl SliceBudget
impl SliceBudget
Sourcepub fn with_parent(limit: u32, parent: SliceBudget) -> Self
pub fn with_parent(limit: u32, parent: SliceBudget) -> Self
Share immediate cache operations with the caller’s metadata/blob allowance.
Trait Implementations§
Source§impl Clone for SliceBudget
impl Clone for SliceBudget
Auto Trait Implementations§
impl Freeze for SliceBudget
impl RefUnwindSafe for SliceBudget
impl Send for SliceBudget
impl Sync for SliceBudget
impl Unpin for SliceBudget
impl UnsafeUnpin for SliceBudget
impl UnwindSafe for SliceBudget
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