pub struct PreloadHints {
pub page_ids: Vec<u64>,
pub indexes: Vec<String>,
pub working_set_bytes: u64,
}Expand description
Preload hints for deterministic warmup
Fields§
§page_ids: Vec<u64>Specific pages to preload
indexes: Vec<String>Index names to preload
working_set_bytes: u64Estimated working set size in bytes
Trait Implementations§
Source§impl Clone for PreloadHints
impl Clone for PreloadHints
Source§fn clone(&self) -> PreloadHints
fn clone(&self) -> PreloadHints
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 moreSource§impl Debug for PreloadHints
impl Debug for PreloadHints
Source§impl Default for PreloadHints
impl Default for PreloadHints
Source§fn default() -> PreloadHints
fn default() -> PreloadHints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PreloadHints
impl RefUnwindSafe for PreloadHints
impl Send for PreloadHints
impl Sync for PreloadHints
impl Unpin for PreloadHints
impl UnsafeUnpin for PreloadHints
impl UnwindSafe for PreloadHints
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