Enum rust_unixfs::file::adder::Collector
source · pub enum Collector {
Balanced(BalancedCollector),
}
Expand description
Collector or layout strategy. For more information, see the Layout section of the spec. Currently only the default balanced collector/layout has been implemented.
Variants§
Balanced(BalancedCollector)
Balanced trees.
Trait Implementations§
source§impl From<BalancedCollector> for Collector
impl From<BalancedCollector> for Collector
source§fn from(b: BalancedCollector) -> Self
fn from(b: BalancedCollector) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Collector
impl Send for Collector
impl Sync for Collector
impl Unpin for Collector
impl UnwindSafe for Collector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more