pub struct BackgroundWorkLease { /* private fields */ }Expand description
A claim that important work needs the host’s background execution allowance. The allowance remains active until every outstanding lease is dropped.
Trait Implementations§
Source§impl Drop for BackgroundWorkLease
impl Drop for BackgroundWorkLease
Auto Trait Implementations§
impl Freeze for BackgroundWorkLease
impl RefUnwindSafe for BackgroundWorkLease
impl Send for BackgroundWorkLease
impl Sync for BackgroundWorkLease
impl Unpin for BackgroundWorkLease
impl UnsafeUnpin for BackgroundWorkLease
impl UnwindSafe for BackgroundWorkLease
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