pub enum ShareMode {
Share,
Child,
Isolate,
Import(Symbol),
}Expand description
How one isolation axis (env, libs, factory, registry, capabilities) is derived for an evaluation.
Variants§
Reuse the caller’s value for this axis directly.
Child
Derive a child scoped to the caller’s value where applicable.
Isolate
Start fresh with a default, sharing nothing from the caller.
Import(Symbol)
Reconstruct the axis from a named registry snapshot symbol.
Trait Implementations§
Auto Trait Implementations§
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