From fbbf50a9d09ba70c91344524cc33dcaf5561e255 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Mon, 11 Jan 2021 00:12:31 -0800 Subject: [PATCH] fix(mock): impl Async for Mock --- sqlx-core/src/mock.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlx-core/src/mock.rs b/sqlx-core/src/mock.rs index 41615514..2bbd1b19 100644 --- a/sqlx-core/src/mock.rs +++ b/sqlx-core/src/mock.rs @@ -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>;