pub enum WorkspaceCleanup {
Sync(Box<dyn FnOnce() + Send>),
Async(BoxFuture<'static, ()>),
}Variants§
Auto Trait Implementations§
impl Freeze for WorkspaceCleanup
impl !RefUnwindSafe for WorkspaceCleanup
impl Send for WorkspaceCleanup
impl !Sync for WorkspaceCleanup
impl Unpin for WorkspaceCleanup
impl UnsafeUnpin for WorkspaceCleanup
impl !UnwindSafe for WorkspaceCleanup
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