pub struct Db(/* private fields */);Implementations§
Source§impl Db
impl Db
pub fn open(path: &Path) -> Result<Self>
pub fn insert( &mut self, created_at: &str, url: &str, model: &str, runtime: &str, runtime_version: Option<&str>, prompts: &str, prompts_blake3: &str, rows: &[RowResult], ) -> Result<i64>
pub fn run(&self, id: i64) -> Result<RunMeta>
pub fn results(&self, id: i64) -> Result<Vec<StoredRow>>
pub fn summary(&self, id: i64) -> Result<Summary>
Auto Trait Implementations§
impl !Freeze for Db
impl !RefUnwindSafe for Db
impl !Sync for Db
impl !UnwindSafe for Db
impl Forget for Db
impl Send for Db
impl Unpin for Db
impl UnsafeUnpin for Db
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