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

pub struct MutByteBuf { /* fields omitted */ }

Methods

impl MutByteBuf
[src]

Trait Implementations

impl MutBuf for MutByteBuf
[src]

Returns the number of bytes that can be written to the MutBuf

Advance the internal cursor of the MutBuf

Returns a mutable slice starting at the current MutBuf position and of length between 0 and MutBuf::remaining(). Read more

Returns true iff there is any more space for bytes to be written

Write bytes from the given slice into the MutBuf and advance the cursor by the number of bytes written. Returns the number of bytes written. Read more

Write a single byte to the MuBuf

impl Debug for MutByteBuf
[src]

Formats the value using the given formatter.

impl Write for MutByteBuf
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more