Struct unixfs_v1::file::adder::BalancedCollector [−][src]
pub struct BalancedCollector { /* fields omitted */ }
Expand description
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.
Implementations
Configure Balanced collector with the given branching factor.
Trait Implementations
Returns a default collector which matches go-ipfs 0.6
The origin for 174 is not described in the the specs, but has likely to do something with being “good enough” regarding prefetching when reading and allows reusing some of the link blocks if parts of a longer file change.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BalancedCollector
impl Send for BalancedCollector
impl Sync for BalancedCollector
impl Unpin for BalancedCollector
impl UnwindSafe for BalancedCollector
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self