pub trait AsyncWriteTransaction: AsyncWrite {
// Required method
fn poll_finish(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>;
// Provided method
fn finish(self) -> Finish<Self>
where Self: Sized + Unpin { ... }
}Expand description
This trait provides the methods that are useful for write transactions that work asynchronously.