pub struct BudgetCaps {
pub soft_cap_bytes: Option<u64>,
pub hard_cap_bytes: Option<u64>,
}Expand description
Per-backend budget caps. None disables that side (e.g. soft_cap
only, hard_cap only, or unbounded).
Fields§
§soft_cap_bytes: Option<u64>§hard_cap_bytes: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BudgetCaps
impl RefUnwindSafe for BudgetCaps
impl Send for BudgetCaps
impl Sync for BudgetCaps
impl Unpin for BudgetCaps
impl UnsafeUnpin for BudgetCaps
impl UnwindSafe for BudgetCaps
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