removing async_trait from non async trait in connection.rs (#737)
This commit is contained in:
parent
a0a2492a92
commit
3d409608e1
@ -34,7 +34,6 @@ pub trait ConnectionTrait: Sync {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Stream query results
|
/// Stream query results
|
||||||
#[async_trait::async_trait]
|
|
||||||
pub trait StreamTrait<'a>: Send + Sync {
|
pub trait StreamTrait<'a>: Send + Sync {
|
||||||
/// Create a stream for the [QueryResult]
|
/// Create a stream for the [QueryResult]
|
||||||
type Stream: Stream<Item = Result<QueryResult, DbErr>> + Send;
|
type Stream: Stream<Item = Result<QueryResult, DbErr>> + Send;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user