mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-10 04:05:49 +00:00
fix(mock): impl Async for Mock
This commit is contained in:
@@ -98,6 +98,8 @@ impl MockStream {
|
||||
}
|
||||
}
|
||||
|
||||
impl crate::Async for Mock {}
|
||||
|
||||
impl<'s> IoStream<'s, Mock> for MockStream {
|
||||
#[cfg(feature = "async")]
|
||||
type ReadFuture = BoxFuture<'s, io::Result<usize>>;
|
||||
|
||||
Reference in New Issue
Block a user