Enum tiny_actor::Growth
source · [−]pub enum Growth {
Exponential(f32),
Linear,
}Variants
Exponential(f32)
timeout = base_timeout * (growth ^ (msg_count - start_at))
Linear
timeout = base_timeout * (msg_count - start_at)
Trait Implementations
impl StructuralPartialEq for Growth
Auto Trait Implementations
impl RefUnwindSafe for Growth
impl Send for Growth
impl Sync for Growth
impl Unpin for Growth
impl UnwindSafe for Growth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more