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 copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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.

Scrape the references from an impl Read. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.