pub struct IsolatedProcessSpecBuilder { /* private fields */ }Expand description
Describes the isolated process spec builder portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Implementations§
Source§impl IsolatedProcessSpecBuilder
impl IsolatedProcessSpecBuilder
Sourcepub fn env_secret(
self,
name: impl Into<String>,
secret_ref: impl Into<SecretRef>,
) -> Self
pub fn env_secret( self, name: impl Into<String>, secret_ref: impl Into<SecretRef>, ) -> Self
Returns an updated package::isolation value with env secret applied. This is data construction only and does not execute the configured behavior.
Sourcepub fn build(self) -> Result<IsolatedProcessSpec, AgentError>
pub fn build(self) -> Result<IsolatedProcessSpec, AgentError>
Finishes builder validation and returns the configured value. This is data-only unless the surrounding builder explicitly documents adapter or store access.
Trait Implementations§
Source§impl Clone for IsolatedProcessSpecBuilder
impl Clone for IsolatedProcessSpecBuilder
Source§fn clone(&self) -> IsolatedProcessSpecBuilder
fn clone(&self) -> IsolatedProcessSpecBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IsolatedProcessSpecBuilder
impl RefUnwindSafe for IsolatedProcessSpecBuilder
impl Send for IsolatedProcessSpecBuilder
impl Sync for IsolatedProcessSpecBuilder
impl Unpin for IsolatedProcessSpecBuilder
impl UnsafeUnpin for IsolatedProcessSpecBuilder
impl UnwindSafe for IsolatedProcessSpecBuilder
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