pub struct TaskExecutorPlugin {
pub executor: fn() -> Arc<dyn TaskExecutor>,
}Expand description
Inventory plugin so capabilities register executors without core knowing
about them (same pattern as everruns-platform’s
SessionSandboxProviderPlugin).
Fields§
§executor: fn() -> Arc<dyn TaskExecutor>Trait Implementations§
impl Collect for TaskExecutorPlugin
Auto Trait Implementations§
impl Freeze for TaskExecutorPlugin
impl RefUnwindSafe for TaskExecutorPlugin
impl Send for TaskExecutorPlugin
impl Sync for TaskExecutorPlugin
impl Unpin for TaskExecutorPlugin
impl UnsafeUnpin for TaskExecutorPlugin
impl UnwindSafe for TaskExecutorPlugin
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