Struct bytes::SmallByteStrBuf [] [src]

pub struct SmallByteStrBuf { /* fields omitted */ }

Trait Implementations

impl Clone for SmallByteStrBuf
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Buf for SmallByteStrBuf
[src]

Returns the number of bytes that can be accessed from the Buf

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

Advance the internal cursor of the Buf

Returns true if there are any more bytes to consume

Read bytes from the Buf into the given slice and advance the cursor by the number of bytes read. Returns the number of bytes read. Read more

Read a single byte from the Buf