mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
cli: implement Copy for DbLocation and Io, as suggested by [Preston](https://github.com/PThorpe92)
This commit is contained in:
parent
5a45df84db
commit
b630414722
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ pub struct Opts {
|
|||
pub io: Io,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum DbLocation {
|
||||
Memory,
|
||||
Path,
|
||||
}
|
||||
|
||||
#[derive(Clone, ValueEnum)]
|
||||
#[derive(Copy, Clone, ValueEnum)]
|
||||
pub enum Io {
|
||||
Syscall,
|
||||
#[cfg(all(target_os = "linux", feature = "io_uring"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue