pub struct ExecutorConfig {
pub task_channel_capacity: usize,
pub abort_poll_interval: Duration,
}Expand description
Configuration for an Executor.
Fields§
§task_channel_capacity: usize§abort_poll_interval: DurationImplementations§
Source§impl ExecutorConfig
impl ExecutorConfig
Sourcepub fn builder() -> ExecutorConfigBuilder
pub fn builder() -> ExecutorConfigBuilder
Create an instance of ExecutorConfig using the builder syntax
Trait Implementations§
Source§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 UnsafeUnpin 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