kvarn_extensions::reverse_proxy::async_bits

Struct CopyBuffer

source
pub struct CopyBuffer { /* private fields */ }
Available on crate feature reverse-proxy only.

Implementations§

source§

impl CopyBuffer

source

pub fn new() -> Self

source

pub fn with_capacity(initialized: usize) -> Self

source

pub fn poll_copy<R, W>( &mut self, cx: &mut Context<'_>, reader: Pin<&mut R>, writer: Pin<&mut W>, ) -> Poll<