pub struct Runtime {
pub config: ConfigToml,
/* private fields */
}Expand description
Compatibility configuration.
Conversation execution and durable history belong to the held canonical RuntimeThreadManager/Engine. Legacy State data is retained for read-only recovery and bound alias publication, never as a second transcript writer.
Fields§
§config: ConfigTomlImplementations§
Source§impl Runtime
impl Runtime
pub fn new(config: ConfigToml, state: StateStore) -> Self
Sourcepub fn state_store(&self) -> &StateStore
pub fn state_store(&self) -> &StateStore
Existing compatibility data and receipts; no transcript controller.
pub fn update_config(&mut self, config: ConfigToml)
Sourcepub fn provider_default(&self) -> ProviderKind
pub fn provider_default(&self) -> ProviderKind
Returns the default model provider from the resolved configuration.
Auto Trait Implementations§
impl Forget for Runtime
impl Freeze for Runtime
impl Move for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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