pub struct Budget {
pub ram_kib: u64,
pub cpus: u32,
}Expand description
The budgeted resources every tuning value is derived from.
Fields§
§ram_kib: u64Memory, in kibibytes, that PostgreSQL may size its caches against.
cpus: u32CPUs PostgreSQL may spread parallel work across.
Trait Implementations§
impl Copy for Budget
impl Eq for Budget
impl StructuralPartialEq for Budget
Auto Trait Implementations§
impl Freeze for Budget
impl RefUnwindSafe for Budget
impl Send for Budget
impl Sync for Budget
impl Unpin for Budget
impl UnsafeUnpin for Budget
impl UnwindSafe for Budget
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