pub struct RepackHandle { /* private fields */ }Expand description
Handle for cancellation and result collection.
Implementations§
Source§impl RepackHandle
impl RepackHandle
Sourcepub fn cancellation_token(&self) -> CancellationToken
pub fn cancellation_token(&self) -> CancellationToken
Clone the token for integration with an external shutdown signal.
Sourcepub fn wait(self) -> Result<RepackReport, RepackError>
pub fn wait(self) -> Result<RepackReport, RepackError>
Wait for the operation to finish.
Auto Trait Implementations§
impl !RefUnwindSafe for RepackHandle
impl !Sync for RepackHandle
impl !UnwindSafe for RepackHandle
impl Freeze for RepackHandle
impl Send for RepackHandle
impl Unpin for RepackHandle
impl UnsafeUnpin for RepackHandle
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