pub struct StrategicConfig {
pub max_core_allowed: usize,
pub max_core_in_flight: usize,
pub max_core_in_compress: usize,
pub max_mem_allowed: u64,
pub min_free_memory_ratio: f32,
pub file_split_block_size: u64,
pub max_chunks: u32,
pub compression_level: i32,
pub zstd_output_buffer_size: usize,
}Fields§
§max_core_allowed: usize§max_core_in_flight: usize§max_core_in_compress: usize§max_mem_allowed: u64§min_free_memory_ratio: f32§file_split_block_size: u64§max_chunks: u32§compression_level: i32§zstd_output_buffer_size: usizeImplementations§
Source§impl StrategicConfig
impl StrategicConfig
pub fn file_split_block_size_usize(&self) -> usize
Trait Implementations§
Source§impl Clone for StrategicConfig
impl Clone for StrategicConfig
Source§fn clone(&self) -> StrategicConfig
fn clone(&self) -> StrategicConfig
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 StrategicConfig
impl RefUnwindSafe for StrategicConfig
impl Send for StrategicConfig
impl Sync for StrategicConfig
impl Unpin for StrategicConfig
impl UnwindSafe for StrategicConfig
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