Struct rust_unixfs::file::adder::FileAdderBuilder
source · pub struct FileAdderBuilder { /* private fields */ }
Expand description
Convenience type to facilitate configuring FileAdder
s.
Implementations§
source§impl FileAdderBuilder
impl FileAdderBuilder
sourcepub fn with_chunker(self, chunker: Chunker) -> Self
pub fn with_chunker(self, chunker: Chunker) -> Self
Configures the builder to use the given chunker.
sourcepub fn with_collector(self, collector: impl Into<Collector>) -> Self
pub fn with_collector(self, collector: impl Into<Collector>) -> Self
Configures the builder to use the given collector or layout.
Trait Implementations§
source§impl Default for FileAdderBuilder
impl Default for FileAdderBuilder
source§fn default() -> FileAdderBuilder
fn default() -> FileAdderBuilder
Returns the “default value” for a type. Read more