pub struct RuntimeBootstrap<'a> { /* private fields */ }Implementations§
Source§impl<'a> RuntimeBootstrap<'a>
impl<'a> RuntimeBootstrap<'a>
Sourcepub fn new(config: &'a RuntimeConfig) -> Self
pub fn new(config: &'a RuntimeConfig) -> Self
Create the official composition root from typed deployment config.
Without an injected Definition, Bootstrap loads definition_path.
There is intentionally no hidden Code Agent default: Tool/Skill-focused
distributions call Self::with_definition so behavior is visible in
their composition root.
Sourcepub fn with_definition(self, definition: Arc<AgentDefinition>) -> Self
pub fn with_definition(self, definition: Arc<AgentDefinition>) -> Self
Inject one already-built Definition.
This is the narrow path for Tool + Skill and Skill + Workspace agents: Bootstrap still owns Infra SDK sessions, execution, authentication and transport, while developer code owns only the Definition.
Sourcepub fn with_transport(self, transport: RuntimeTransportConfig) -> Self
pub fn with_transport(self, transport: RuntimeTransportConfig) -> Self
Override the route selection derived from server.transport.
pub async fn build(self) -> Result<RuntimeApplication, BootstrapError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RuntimeBootstrap<'a>
impl<'a> !UnwindSafe for RuntimeBootstrap<'a>
impl<'a> Freeze for RuntimeBootstrap<'a>
impl<'a> Send for RuntimeBootstrap<'a>
impl<'a> Sync for RuntimeBootstrap<'a>
impl<'a> Unpin for RuntimeBootstrap<'a>
impl<'a> UnsafeUnpin for RuntimeBootstrap<'a>
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