[][src]Struct bytes::buf::MutByteBuf

pub struct MutByteBuf { /* fields omitted */ }

Methods

impl MutByteBuf[src]

pub fn capacity(&self) -> usize[src]

Important traits for ByteBuf
pub fn flip(self) -> ByteBuf[src]

pub fn clear(&mut self)[src]

pub fn write_slice(&mut self, src: &[u8]) -> usize[src]

pub fn bytes<'a>(&'a self) -> &'a [u8][src]

Trait Implementations

impl MutBuf for MutByteBuf[src]

impl Debug for MutByteBuf[src]

impl Write for MutByteBuf[src]

Auto Trait Implementations

impl Send for MutByteBuf

impl Sync for MutByteBuf

impl Unpin for MutByteBuf

impl UnwindSafe for MutByteBuf

impl RefUnwindSafe for MutByteBuf

Blanket Implementations

impl<B> MutBufExt for B where
    B: MutBuf
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]