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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.