Struct grenad::WriterBuilder[][src]

pub struct WriterBuilder { /* fields omitted */ }
Expand description

A struct that is used to configure a Writer.

Implementations

Creates a WriterBuilder, it can be used to configure your Writer to better fit your needs.

Defines the CompressionType that will be used to compress the writer blocks.

Defines the copression level of the defined CompressionType that will be used to compress the writer blocks.

Defines the size of the blocks that the writer will writer.

The bigger the blocks are the better they are compressed but the more time it takes to compress and decompress them.

The interval at which we store the index of a key in the footer index, used to seek into a block.

Creates the Writer that will write into the provided io::Write type.

Creates the Writer that will write into a Vec of bytes.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.