pub struct RuntimeConfig {
pub worker_threads: Option<usize>,
pub thread_stack_size: usize,
}Expand description
Runtime configuration for run.
Fields§
§worker_threads: Option<usize>Number of tokio worker threads. None = system default (CPU core count).
thread_stack_size: usizeStack size per worker thread in bytes. Default: 8 MB.
Implementations§
Source§impl RuntimeConfig
impl RuntimeConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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