mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
cli: implement Copy for DbLocation and Io, as suggested by [Preston](https://github.com/PThorpe92)
This commit is contained in:
@@ -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"))]
|
||||
|
||||
Reference in New Issue
Block a user