mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
add time querying to io trait
This commit is contained in:
parent
84ed081f19
commit
671b61ba19
7 changed files with 38 additions and 0 deletions
|
@ -22,6 +22,8 @@ pub trait IO {
|
|||
fn run_once(&self) -> Result<()>;
|
||||
|
||||
fn generate_random_number(&self) -> i64;
|
||||
|
||||
fn get_current_time(&self) -> String;
|
||||
}
|
||||
|
||||
pub type Complete = dyn Fn(Rc<RefCell<Buffer>>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue