pub struct RuntimeStore { /* private fields */ }Expand description
SQLite-backed durable runtime state.
Implementations§
Source§impl RuntimeStore
impl RuntimeStore
pub fn open_default() -> Result<RuntimeStore, Error>
pub fn open(path: impl AsRef<Path>) -> Result<RuntimeStore, Error>
pub fn path(&self) -> &Path
pub fn sessions(&self) -> SessionsRepo<'_>
pub fn messages(&self) -> MessagesRepo<'_>
pub fn tasks(&self) -> TasksRepo<'_>
pub fn tool_runs(&self) -> ToolRunsRepo<'_>
pub fn approvals(&self) -> ApprovalsRepo<'_>
pub fn processes(&self) -> ProcessesRepo<'_>
pub fn checkpoints(&self) -> CheckpointsRepo<'_>
pub fn compactions(&self) -> CompactionsRepo<'_>
pub fn plugins(&self) -> PluginsRepo<'_>
pub fn provider_probes(&self) -> ProviderProbesRepo<'_>
pub fn pairing_tokens(&self) -> PairingTokensRepo<'_>
Auto Trait Implementations§
impl !Freeze for RuntimeStore
impl !RefUnwindSafe for RuntimeStore
impl !Sync for RuntimeStore
impl !UnwindSafe for RuntimeStore
impl Send for RuntimeStore
impl Unpin for RuntimeStore
impl UnsafeUnpin for RuntimeStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more