Struct RuntimeConfig
pub struct RuntimeConfig {
pub node_threads: usize,
pub execution_threads: usize,
}Expand description
Tokio runtime worker sizing for the node process.
Fields§
§node_threads: usizeWorker threads for node control-plane work: API, FCO, sequence crawling, discovery, and flush.
execution_threads: usizeWorker threads dedicated to VM/Wasm execution.
Trait Implementations§
§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RuntimeConfig
impl Debug for RuntimeConfig
§impl Default for RuntimeConfig
impl Default for RuntimeConfig
§impl<'de> Deserialize<'de> for RuntimeConfig
impl<'de> Deserialize<'de> for RuntimeConfig
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for RuntimeConfig
impl Serialize for RuntimeConfig
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