pub trait AsStatement {
// Required method
fn as_statement<Q: Queryable>(
&self,
queryable: &mut Q,
) -> Result<Cow<'_, Statement>>;
}
Expand description
Something, that eventually is a Statement
in the context of a T: Queryable
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.