#[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() -> InitialCapacityConfigBuilder
pub fn builder() -> InitialCapacityConfigBuilder
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 moresource§impl Debug for InitialCapacityConfig
impl Debug for InitialCapacityConfig
source§impl PartialEq<InitialCapacityConfig> for InitialCapacityConfig
impl PartialEq<InitialCapacityConfig> for InitialCapacityConfig
source§fn eq(&self, other: &InitialCapacityConfig) -> bool
fn eq(&self, other: &InitialCapacityConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InitialCapacityConfig
Auto Trait Implementations§
impl RefUnwindSafe for InitialCapacityConfig
impl Send for InitialCapacityConfig
impl Sync for InitialCapacityConfig
impl Unpin for InitialCapacityConfig
impl UnwindSafe for InitialCapacityConfig
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