pub trait ByteSliceIteratorIntoBuffer {
// Required method
fn into_buffer(self) -> Result<Buffer, BufferError>;
}Required Methods§
Sourcefn into_buffer(self) -> Result<Buffer, BufferError>
fn into_buffer(self) -> Result<Buffer, BufferError>
Collects this Iterator into a Buffer.
§Errors
BufferError is returned if an allocation or reallocation fails.