pub struct WriteBuf<'a> { /* private fields */ }Implementations§
Source§impl WriteBuf<'_>
impl WriteBuf<'_>
Sourcepub fn want_shutdown(&self)
pub fn want_shutdown(&self)
Initiate graceful io stream shutdown
Sourcepub fn resize_buf(&self, buf: &mut BytesVec)
pub fn resize_buf(&self, buf: &mut BytesVec)
Make sure buffer has enough free space