#[non_exhaustive]pub struct InitialCapacityConfig { /* private fields */ }Expand description
The initial capacity configuration per worker.
Implementations§
source§impl InitialCapacityConfig
impl InitialCapacityConfig
sourcepub fn worker_count(&self) -> i64
pub fn worker_count(&self) -> i64
The number of workers in the initial capacity configuration.
sourcepub fn worker_configuration(&self) -> Option<&WorkerResourceConfig>
pub fn worker_configuration(&self) -> Option<&WorkerResourceConfig>
The resource configuration of the initial capacity configuration.
source§impl InitialCapacityConfig
impl InitialCapacityConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InitialCapacityConfig.
Trait Implementations§
source§impl Clone for InitialCapacityConfig
impl Clone for InitialCapacityConfig
source§fn clone(&self) -> InitialCapacityConfig
fn clone(&self) -> InitialCapacityConfig
Returns a copy 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 more