pub struct BackgroundTasksPlugin { /* private fields */ }Expand description
Registers BackgroundTasks as a resource with the given worker count.
ⓘ
app.add_plugin(BackgroundTasksPlugin::new(4));Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackgroundTasksPlugin
impl RefUnwindSafe for BackgroundTasksPlugin
impl Send for BackgroundTasksPlugin
impl Sync for BackgroundTasksPlugin
impl Unpin for BackgroundTasksPlugin
impl UnsafeUnpin for BackgroundTasksPlugin
impl UnwindSafe for BackgroundTasksPlugin
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