Trait BufExt
fbthrift_git
pub trait BufExt: Buf { fn reset(self) -> Self; }
fn reset(self) -> Self
Reset buffer back to the beginning.
impl BufExt for Cursor<Bytes>