sqlx/sqlx-core/src/close.rs
2021-01-14 19:01:39 -08:00

15 lines
303 B
Rust

use crate::Runtime;
pub trait Close<Rt>
where
Rt: Runtime,
{
#[cfg(feature = "async")]
fn close(self) -> futures_util::future::BoxFuture<'static, crate::Result<()>>
where
Rt: crate::Async;
}
// TODO: impl Close for Pool { ... }
// TODO: impl<C: Connection> Close for C { ... }