pub trait DinocoPostgres:
Sized
+ Send
+ Sync
+ 'static {
// Required methods
fn from_deadpool_posgres_row(row: &DeadpoolPostgresRow) -> Option<Self>;
fn from_postgres_row(row: &PostgresRow) -> Option<Self>;
// Provided method
fn from_deadpool_postgres_row(row: &DeadpoolPostgresRow) -> Option<Self> { ... }
}Required Methods§
fn from_deadpool_posgres_row(row: &DeadpoolPostgresRow) -> Option<Self>
fn from_postgres_row(row: &PostgresRow) -> Option<Self>
Provided Methods§
fn from_deadpool_postgres_row(row: &DeadpoolPostgresRow) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".