pub struct MLFeatures {
pub requested_size: f64,
pub avg_recent_size: f64,
pub avg_recent_latency: f64,
pub cache_hit_rate: f64,
pub fragmentation_level: f64,
pub utilization_level: f64,
pub allocation_frequency: f64,
}Expand description
Features for ML-based allocation
Fields§
§requested_size: f64§avg_recent_size: f64§avg_recent_latency: f64§cache_hit_rate: f64§fragmentation_level: f64§utilization_level: f64§allocation_frequency: f64Trait Implementations§
Source§impl Clone for MLFeatures
impl Clone for MLFeatures
Source§fn clone(&self) -> MLFeatures
fn clone(&self) -> MLFeatures
Returns a duplicate of the value. Read more
1.0.0 · 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 MLFeatures
impl RefUnwindSafe for MLFeatures
impl Send for MLFeatures
impl Sync for MLFeatures
impl Unpin for MLFeatures
impl UnwindSafe for MLFeatures
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