mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-06-06 07:31:56 +00:00
18 lines
259 B
Rust
18 lines
259 B
Rust
![]() |
use rand::RngCore;
|
||
|
|
||
|
use super::config::SimConfig;
|
||
|
|
||
|
pub mod sqld;
|
||
|
pub mod s3;
|
||
|
pub mod clients;
|
||
|
|
||
|
pub trait SimService {
|
||
|
fn tick(
|
||
|
&mut self,
|
||
|
sim: &mut turmoil::Sim,
|
||
|
config: &SimConfig,
|
||
|
rng: &mut dyn RngCore,
|
||
|
) -> bool;
|
||
|
}
|
||
|
|