pub struct BackgroundWorkItem { /* private fields */ }Expand description
| Stores the work item data in a Schedule() | call. | | Instances are constructed on the thread | calling Schedule() and used on the background | thread. | | This structure is thread-safe beacuse it is | immutable.
Implementations§
Auto Trait Implementations§
impl Freeze for BackgroundWorkItem
impl RefUnwindSafe for BackgroundWorkItem
impl !Send for BackgroundWorkItem
impl !Sync for BackgroundWorkItem
impl Unpin for BackgroundWorkItem
impl UnwindSafe for BackgroundWorkItem
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