pub struct WriteBuf<'a> { /* private fields */ }Implementations§
source§impl<'a> WriteBuf<'a>
impl<'a> WriteBuf<'a>
sourcepub fn want_shutdown(&self)
pub fn want_shutdown(&self)
Initiate graceful io stream shutdown
sourcepub fn get_pair(&mut self) -> (&mut BytesVec, &mut BytesVec)
pub fn get_pair(&mut self) -> (&mut BytesVec, &mut BytesVec)
Get reference to source and destination buffers (src, dst)