pub struct LazyRunOutput {
pub final_cwd: GuardedPath,
pub snapshot: Arc<LazyGuardedTempDir>,
pub fs: Box<dyn WorkspaceFs>,
pub bindings: BTreeMap<String, Value>,
}Expand description
Output of a lazily-executed run (issue #131): the final working directory (concretized as of return), shared ownership of the snapshot backing dir, and the filesystem handle for post-hoc convergence (e.g. concretizing the cwd after shell-entry materialization).
Fields§
§final_cwd: GuardedPath§snapshot: Arc<LazyGuardedTempDir>§fs: Box<dyn WorkspaceFs>§bindings: BTreeMap<String, Value>Top-level script variable bindings captured at Flow::Done, keyed by
variable name with deterministic ordering. Read-only introspection for
hosts that assert on in-memory evaluation without file round trips.
Ephemeral block scopes are excluded; see run_steps_with_manager.
Auto Trait Implementations§
impl !RefUnwindSafe for LazyRunOutput
impl !UnwindSafe for LazyRunOutput
impl Forget for LazyRunOutput
impl Freeze for LazyRunOutputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<LazyGuardedTempDir> is !null: Freeze,
PhantomData<ArcInner<LazyGuardedTempDir>>: Freeze,
*const dyn WorkspaceFs is !null: Freeze,
PhantomData<dyn WorkspaceFs>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for LazyRunOutput
impl Send for LazyRunOutput
impl Sync for LazyRunOutput
impl Unpin for LazyRunOutput
impl UnsafeUnpin for LazyRunOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<LazyGuardedTempDir> is !null: UnsafeUnpin,
PhantomData<ArcInner<LazyGuardedTempDir>>: UnsafeUnpin,
*const dyn WorkspaceFs is !null: UnsafeUnpin,
PhantomData<dyn WorkspaceFs>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.