mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-30 05:11:13 +00:00
fix(mock): impl Async for Mock
This commit is contained in:
parent
d81ec4a57f
commit
fbbf50a9d0
@ -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>>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user