MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / poll_write

Method poll_write

src/pglite/pg_dump.rs:614–620  ·  view source on GitHub ↗
(
        mut self: Pin<&mut Self>,
        _cx: &mut TaskContext<'_>,
        buf: &[u8],
    )

Source from the content-addressed store, hash-verified

612
613impl AsyncWrite for CaptureFile {
614 fn poll_write(
615 mut self: Pin<&mut Self>,
616 _cx: &mut TaskContext<'_>,
617 buf: &[u8],
618 ) -> Poll<std::io::Result<usize>> {
619 Poll::Ready(self.write(buf))
620 }
621
622 fn poll_flush(self: Pin<&mut Self>, _cx: &mut TaskContext<'_>) -> Poll<std::io::Result<()>> {
623 Poll::Ready(Ok(()))

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected