Struct SystemConfig
pub struct SystemConfig {
pub max_memory_bytes: u64,
pub max_threads: usize,
pub max_queue_size: usize,
pub performance_monitoring: bool,
}Expand description
System configuration parameters
Fields§
§max_memory_bytes: u64Maximum memory usage in bytes
max_threads: usizeMaximum number of threads
max_queue_size: usizeMaximum message queue size
performance_monitoring: boolPerformance monitoring enabled
Trait Implementations§
§impl Clone for SystemConfig
impl Clone for SystemConfig
§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SystemConfig
impl Debug for SystemConfig
§impl Default for SystemConfig
impl Default for SystemConfig
§fn default() -> SystemConfig
fn default() -> SystemConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnwindSafe for SystemConfig
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