pub enum Startup {
Normal,
Startup,
StartupWithExtraThreads,
}
Expand description
modes the system can be in
Variants§
Normal
not startup, but steady state execution
Startup
startup (not steady state execution) requesting ‘startup’-like behavior where in-mem acct idx items are flushed asap
StartupWithExtraThreads
startup (not steady state execution) but also requesting additional threads to be running to flush the acct idx to disk asap The idea is that the best perf to ssds will be with multiple threads, but during steady state, we can’t allocate as many threads because we’d starve the rest of the system.
Auto Trait Implementations§
impl RefUnwindSafe for Startup
impl Send for Startup
impl Sync for Startup
impl Unpin for Startup
impl UnwindSafe for Startup
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