removing async_trait from non async trait in connection.rs (#737)

This commit is contained in:
sjud 2022-07-17 03:12:25 -04:00 committed by GitHub
parent a0a2492a92
commit 3d409608e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,6 @@ pub trait ConnectionTrait: Sync {
}
/// Stream query results
#[async_trait::async_trait]
pub trait StreamTrait<'a>: Send + Sync {
/// Create a stream for the [QueryResult]
type Stream: Stream<Item = Result<QueryResult, DbErr>> + Send;