pub struct RuntimeConfig {
pub bus_capacity: usize,
pub worker_threads: usize,
pub thread_name: &'static str,
}Expand description
Configuration for super::engine::Runtime::from_program / super::engine::Runtime::from_reducer_program.
Fields§
§bus_capacity: usizeBounded capacity of the action bus (send_blocking back-pressures when full).
worker_threads: usizeTokio runtime worker threads (async effects / subscriptions).
thread_name: &'static strName of the dedicated reducer thread.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§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 moreSource§impl Debug for RuntimeConfig
impl Debug for RuntimeConfig
Source§impl Default for RuntimeConfig
impl Default for RuntimeConfig
impl Eq for RuntimeConfig
Source§impl PartialEq for RuntimeConfig
impl PartialEq for RuntimeConfig
Source§fn eq(&self, other: &RuntimeConfig) -> bool
fn eq(&self, other: &RuntimeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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