pub enum Reply {
Ok,
NamedRows {
names: Vec<String>,
rows: Vec<Vec<Value>>,
},
Conn(u32),
Changes(u64),
Rows(Vec<Vec<Value>>),
Bool(bool),
Names(Vec<String>),
Bytes(Vec<u8>),
Err(String),
}Expand description
The worker’s answer. Err carries the SQLite (or pool) message.
Variants§
Ok
NamedRows
Conn(u32)
Changes(u64)
Rows(Vec<Vec<Value>>)
Bool(bool)
Names(Vec<String>)
Bytes(Vec<u8>)
Err(String)
Trait Implementations§
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Forget for Reply
impl Freeze for Reply
impl Move for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
Blanket Implementations§
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