pub struct RenderCx<'a> {
pub env: &'a Env,
pub fs: &'a dyn Fs,
pub surjection_home: &'a Path,
pub registry: &'a dyn RegistryProbe,
pub delivery: &'a DeliveryEnv,
pub memory: Arc<SecretMemory>,
pub probes: Option<&'a ProbeCache>,
}Expand description
Where rendering happens: the paths ${home} and ${surjection_home} stand
for, what detection may look at, this machine’s secret providers and the
launcher, and the store’s SecretMemory (values read while rendering
are recorded there, so the store refuses to commit them).
Fields§
§env: &'a Env§fs: &'a dyn Fs§surjection_home: &'a Path§registry: &'a dyn RegistryProbe§delivery: &'a DeliveryEnv§memory: Arc<SecretMemory>§probes: Option<&'a ProbeCache>Where write probes of target files are cached (the app’s plan
cache); None probes afresh each planner run (SPEC 8.2
read_only_target).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RenderCx<'a>
impl<'a> !Send for RenderCx<'a>
impl<'a> !Sync for RenderCx<'a>
impl<'a> !UnwindSafe for RenderCx<'a>
impl<'a> Forget for RenderCx<'a>
impl<'a> Freeze for RenderCx<'a>where
&'a Env: Freeze,
&'a dyn Fs: Freeze,
&'a Path: Freeze,
&'a dyn RegistryProbe: Freeze,
&'a DeliveryEnv: Freeze,
*const ArcInner<SecretMemory> is !null: Freeze,
PhantomData<ArcInner<SecretMemory>>: Freeze,
&'a ProbeCache: Freeze,
impl<'a> Move for RenderCx<'a>
impl<'a> Unpin for RenderCx<'a>where
&'a Env: Unpin,
&'a dyn Fs: Unpin,
&'a Path: Unpin,
&'a dyn RegistryProbe: Unpin,
&'a DeliveryEnv: Unpin,
Arc<SecretMemory>: Unpin,
&'a ProbeCache: Unpin,
impl<'a> UnsafeUnpin for RenderCx<'a>where
&'a Env: UnsafeUnpin,
&'a dyn Fs: UnsafeUnpin,
&'a Path: UnsafeUnpin,
&'a dyn RegistryProbe: UnsafeUnpin,
&'a DeliveryEnv: UnsafeUnpin,
*const ArcInner<SecretMemory> is !null: UnsafeUnpin,
PhantomData<ArcInner<SecretMemory>>: UnsafeUnpin,
&'a ProbeCache: 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