Trait tokio_postgres::types::FromSqlOwned

source ·
pub trait FromSqlOwned: for<'a> FromSql<'a> { }
Expand description

A trait for types which can be created from a Postgres value without borrowing any data.

This is primarily useful for trait bounds on functions.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> FromSqlOwned for T
where T: for<'a> FromSql<'a>,