pub trait AsyncPatchSink: AsyncSink {
// Required method
async fn patch(
&mut self,
back: u32,
bytes: &[u8],
) -> Result<(), Self::Error>;
}Available on crate feature
async only.Expand description
An AsyncSink that can overwrite bytes it already took, for AsyncOnePass, as
PatchSink has it.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<S: AsyncPatchSink + ?Sized> AsyncPatchSink for &mut S
impl<S: AsyncPatchSink + ?Sized> AsyncPatchSink for &mut S
Implementors§
impl<W: Write + Seek> AsyncPatchSink for EmbeddedIo<W>
Available on crate feature
embedded-io-async and (crate features embedded-io-async or embedded-io) only.