pub struct DeferredShrink { /* private fields */ }Expand description
A scaling policy that grows immediately but shrinks only after a cooldown.
Implementations§
Trait Implementations§
Source§impl ScalingPolicy for DeferredShrink
impl ScalingPolicy for DeferredShrink
Auto Trait Implementations§
impl !Freeze for DeferredShrink
impl !RefUnwindSafe for DeferredShrink
impl Send for DeferredShrink
impl Sync for DeferredShrink
impl Unpin for DeferredShrink
impl UnsafeUnpin for DeferredShrink
impl UnwindSafe for DeferredShrink
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