pub trait WriterFuture<'a, W: ?Sized, B> {
// Required methods
fn new(writer: &'a mut W, buf: B) -> Self;
fn reset(self: Pin<&mut Self>, buf: B);
}
Available on crate feature
async
only.Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.