pub struct BackgroundTaskController { /* private fields */ }
Expand description
Handle to cleanly shut down the BackgroundTask
.
It’ll still try to send all available data and then quit.
Implementations§
Auto Trait Implementations§
impl Freeze for BackgroundTaskController
impl RefUnwindSafe for BackgroundTaskController
impl Send for BackgroundTaskController
impl Sync for BackgroundTaskController
impl Unpin for BackgroundTaskController
impl UnwindSafe for BackgroundTaskController
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