pub enum Bound {
Query(Plan),
CreateTable(CreateTable),
CreateView(CreateView),
DropTable(DropTable),
Insert(Insert),
}Expand description
One statement, bound.
Not #[non_exhaustive]. A new variant here is a new kind of statement, and the compiler
pointing at every place that has to decide what to do with it is the whole value of the enum.
Variants§
Query(Plan)
A query, which is the only one of these that produces rows.
CreateTable(CreateTable)
CREATE TABLE.
CreateView(CreateView)
CREATE VIEW.
DropTable(DropTable)
DROP TABLE or DROP VIEW.
Insert(Insert)
INSERT INTO.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnsafeUnpin for Bound
impl UnwindSafe for Bound
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