pub struct ExecutorConfig {
pub max_concurrent_tasks: usize,
pub default_timeout: u64,
pub enable_performance_monitoring: bool,
pub enable_detailed_logging: bool,
}Expand description
执行器配置
Fields§
§max_concurrent_tasks: usize最大并发任务数
default_timeout: u64默认超时时间(毫秒)
enable_performance_monitoring: bool是否启用性能监控
enable_detailed_logging: bool是否启用详细日志
Trait Implementations§
Source§impl Clone for ExecutorConfig
impl Clone for ExecutorConfig
Source§fn clone(&self) -> ExecutorConfig
fn clone(&self) -> ExecutorConfig
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 moreSource§impl Debug for ExecutorConfig
impl Debug for ExecutorConfig
Auto Trait Implementations§
impl Freeze for ExecutorConfig
impl RefUnwindSafe for ExecutorConfig
impl Send for ExecutorConfig
impl Sync for ExecutorConfig
impl Unpin for ExecutorConfig
impl UnwindSafe for ExecutorConfig
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