mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-10 15:49:56 +00:00
* Intending to use in a new Row type to check types at runtime for dynamic queries and to guard against schema changes * Hoping the query! macro can utilize this to allow accepting N rust types for 1 sql type and returning N rust types for 1 sql type.
6 lines
101 B
Rust
6 lines
101 B
Rust
pub trait Decode {
|
|
fn decode(buf: &[u8]) -> crate::Result<Self>
|
|
where
|
|
Self: Sized;
|
|
}
|