pub enum SqliteWorkerCommand {
ApplySchema {
schema: Schema,
reply_to: Sender<Result<(), String>>,
},
Execute {
query: SqlQuery,
reply_to: Sender<Result<usize, String>>,
},
Query {
query: SqlQuery,
reply_to: Sender<Result<Vec<HashMap<String, Value>>, String>>,
},
Shutdown {
reply_to: Sender<Result<(), String>>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for SqliteWorkerCommand
impl !RefUnwindSafe for SqliteWorkerCommand
impl Send for SqliteWorkerCommand
impl Sync for SqliteWorkerCommand
impl Unpin for SqliteWorkerCommand
impl UnsafeUnpin for SqliteWorkerCommand
impl !UnwindSafe for SqliteWorkerCommand
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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