pub struct ApplyEnv<'a> {
pub env: &'a Env,
pub fs: &'a dyn Fs,
pub home: &'a SurjectionHome,
pub registry: &'a dyn RegistryProbe,
pub delivery: &'a DeliveryEnv,
}Expand description
What an apply runs against.
Fields§
§env: &'a Env§fs: &'a dyn Fs§home: &'a SurjectionHome§registry: &'a dyn RegistryProbeFor all-detected enablement; the CLI passes a registry-free probe.
delivery: &'a DeliveryEnvSecret providers and the surject launcher (SPEC 11.4).
Implementations§
Source§impl<'a> ApplyEnv<'a>
impl<'a> ApplyEnv<'a>
Sourcepub fn render_cx(&self, memory: Arc<SecretMemory>) -> RenderCx<'a>
pub fn render_cx(&self, memory: Arc<SecretMemory>) -> RenderCx<'a>
The render context; values read while rendering go to memory (the
store’s SecretMemory).
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ApplyEnv<'a>
impl<'a> !Send for ApplyEnv<'a>
impl<'a> !Sync for ApplyEnv<'a>
impl<'a> !UnwindSafe for ApplyEnv<'a>
impl<'a> Forget for ApplyEnv<'a>
impl<'a> Freeze for ApplyEnv<'a>where
&'a Env: Freeze,
&'a dyn Fs: Freeze,
&'a SurjectionHome: Freeze,
&'a dyn RegistryProbe: Freeze,
&'a DeliveryEnv: Freeze,
impl<'a> Move for ApplyEnv<'a>
impl<'a> Unpin for ApplyEnv<'a>where
&'a Env: Unpin,
&'a dyn Fs: Unpin,
&'a SurjectionHome: Unpin,
&'a dyn RegistryProbe: Unpin,
&'a DeliveryEnv: Unpin,
impl<'a> UnsafeUnpin for ApplyEnv<'a>where
&'a Env: UnsafeUnpin,
&'a dyn Fs: UnsafeUnpin,
&'a SurjectionHome: UnsafeUnpin,
&'a dyn RegistryProbe: UnsafeUnpin,
&'a DeliveryEnv: 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