[−][src]Struct bastion::resizer::OptimalSizeExploringResizer
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
impl !RefUnwindSafe for OptimalSizeExploringResizer
impl Send for OptimalSizeExploringResizer
impl Sync for OptimalSizeExploringResizer
impl Unpin for OptimalSizeExploringResizer
impl !UnwindSafe for OptimalSizeExploringResizer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Message for T where
T: Any + Send + Sync + Debug,
[src]
T: Any + Send + Sync + Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> State for T where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,