Trait ByteSliceIteratorIntoBuffer

Source
pub trait ByteSliceIteratorIntoBuffer {
    // Required method
    fn into_buffer(self) -> Result<Buffer, BufferError>;
}

Required Methods§

Source

fn into_buffer(self) -> Result<Buffer, BufferError>

Collects this Iterator into a Buffer.

§Errors

BufferError is returned if an allocation or reallocation fails.

Implementors§

Source§

impl<Ts: AsRef<[u8]>, Ti: Iterator<Item = Ts>> ByteSliceIteratorIntoBuffer for Ti