tank_core/
prepared.rs

1use crate::{AsValue, Result};
2use std::fmt::Display;
3
4pub trait Prepared: Send + Sync + Display {
5    fn bind<V: AsValue>(&mut self, value: V) -> Result<&mut Self>;
6    fn bind_index<V: AsValue>(&mut self, value: V, index: u64) -> Result<&mut Self>;
7}