pub struct PreparedActivation { /* private fields */ }Expand description
Prepared downstream activation that has not yet been published.
The closure should atomically install the prepared product and return the
summary describing that exact product. The framework runs it only when the
request is still current, under the same generation boundary used to
publish active source and built identity. Dropping this value must be safe:
stale requests are superseded by dropping their prepared activation. The
closure runs while workspace activation state is write-locked, so it must
not call back into Workspace accessors; keep it to the downstream slot
swap and request-scoped summary generation.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedActivation
impl !Sync for PreparedActivation
impl !UnwindSafe for PreparedActivation
impl Freeze for PreparedActivation
impl Send for PreparedActivation
impl Unpin for PreparedActivation
impl UnsafeUnpin for PreparedActivation
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