pub struct SqliteCostModel { /* private fields */ }Expand description
A cost model that estimates table-scan cost from a live SQLite connection.
Holds a shared [Connection] (via Rc, since the planner takes an owned
Rc<dyn ConnectionCostModel>); statements are prepared on demand against it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqliteCostModel
impl !RefUnwindSafe for SqliteCostModel
impl !Send for SqliteCostModel
impl !Sync for SqliteCostModel
impl Unpin for SqliteCostModel
impl UnsafeUnpin for SqliteCostModel
impl !UnwindSafe for SqliteCostModel
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