Struct bytes::buf::MutByteBuf
[−]
[src]
pub struct MutByteBuf { // some fields omitted }
pub struct MutByteBuf { // some fields omitted }
impl MutByteBuf
fn capacity(&self) -> usize
fn flip(self) -> ByteBuf
fn clear(&mut self)
fn write_slice(&mut self, src: &[u8]) -> usize
fn bytes<'a>(&'a self) -> &'a [u8]
impl MutBuf for MutByteBuf
fn remaining(&self) -> usize
unsafe fn advance(&mut self, cnt: usize)
unsafe fn mut_bytes<'a>(&'a mut self) -> &'a mut [u8]
fn has_remaining(&self) -> bool
fn write_slice(&mut self, src: &[u8]) -> usize
fn write_byte(&mut self, byte: u8) -> bool
impl Debug for MutByteBuf
impl Write for MutByteBuf