Module rust_unixfs::file::adder
source · Expand description
File adder capable of constructing UnixFs v1 trees
Structs
- BalancedCollector creates balanced UnixFs trees, most optimized for random access to different parts of the file. Currently supports only link count threshold or the branching factor.
- File tree builder. Implements
core::default::Default
which tracks the recent defaults. - Convenience type to facilitate configuring
FileAdder
s.
Enums
- Chunker strategy
- Collector or layout strategy. For more information, see the Layout section of the spec. Currently only the default balanced collector/layout has been implemented.