Struct ckb_freezer::FreezerFilesBuilder [−][src]
pub struct FreezerFilesBuilder { /* fields omitted */ }
Expand description
Freezer factory, which can be used in order to configure the properties of a new freezer.
Implementations
Generates the base configuration for a new freezer instance
Sets the max size of the file (in bytes) for the new freezer.
Sets the the limit of opened files for the new freezer.
Panics
Panics when limit <= 1
, meaning freezer must open at least 2 files.
Sets the compression enable for the new freezer.