mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-09 03:36:01 +00:00
fix(sqlx-macros): update trait definitions
This commit is contained in:
committed by
Austin Bonander
parent
9341cb8651
commit
9b68eb19ef
@@ -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.
|
||||
///
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user