[][src]Struct bastion::resizer::OptimalSizeExploringResizer

pub struct OptimalSizeExploringResizer { /* fields omitted */ }

Special struct for scaling up and down actor groups in runtime.

Implementations

impl OptimalSizeExploringResizer[src]

pub fn with_lower_bound(self, lower_bound: u64) -> Self[src]

Overrides the minimal amount of actors available to use.

pub fn with_upper_bound(self, upper_bound: UpperBound) -> Self[src]

Overrides the maximum amount of actors available to use.

pub fn with_upscale_strategy(self, upscale_strategy: UpscaleStrategy) -> Self[src]

Overrides the upscale strategy to use.

pub fn with_upscale_rate(self, upscale_rate: f64) -> Self[src]

Overrides the upscale rate for actors.

pub fn with_downscale_threshold(self, downscale_threshold: f64) -> Self[src]

Overrides the downscale threshold for resizer.

pub fn with_downscale_rate(self, downscale_rate: f64) -> Self[src]

Overrides the downscale rate for actors.

Trait Implementations

impl Debug for OptimalSizeExploringResizer[src]

impl Default for OptimalSizeExploringResizer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Message for T where
    T: Any + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> State for T where
    T: Send + Sync + 'static, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,