fix(sqlx-macros): update trait definitions

This commit is contained in:
dignifiedquire
2020-06-04 22:39:10 +02:00
committed by Austin Bonander
parent 9341cb8651
commit 9b68eb19ef
8 changed files with 41 additions and 39 deletions

View File

@@ -11,7 +11,7 @@ use crate::database::Database;
pub type Result<T> = StdResult<T, Error>;
// Convenience type alias for usage within SQLx.
pub(crate) type BoxDynError = Box<dyn StdError + 'static + Send + Sync>;
pub type BoxDynError = Box<dyn StdError + 'static + Send + Sync>;
/// An unexpected `NULL` was encountered during decoding.
///

View File

@@ -62,7 +62,6 @@ mod private_column_index {
/// This trait is sealed and cannot be implemented for types outside of SQLx.
///
/// [`FromRow`]: crate::row::FromRow
/// [`Cursor`]: crate::cursor::Cursor
/// [`Query::fetch`]: crate::query::Query::fetch
pub trait Row: private_row::Sealed + Unpin + Send + Sync + 'static {
type Database: Database;