pub struct PoolTierConfig {
pub max_buffers: usize,
pub prealloc_count: usize,
pub cleanup_threshold: f32,
pub coalescing_enabled: bool,
pub pressure_response_factor: f32,
}Expand description
Pool configuration for a specific buffer tier
Fields§
§max_buffers: usize§prealloc_count: usize§cleanup_threshold: f32§coalescing_enabled: bool§pressure_response_factor: f32Trait Implementations§
Source§impl Clone for PoolTierConfig
impl Clone for PoolTierConfig
Source§fn clone(&self) -> PoolTierConfig
fn clone(&self) -> PoolTierConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PoolTierConfig
impl RefUnwindSafe for PoolTierConfig
impl Send for PoolTierConfig
impl Sync for PoolTierConfig
impl Unpin for PoolTierConfig
impl UnsafeUnpin for PoolTierConfig
impl UnwindSafe for PoolTierConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more