Enum wnfs_unixfs_file::chunker::Chunker
source · pub enum Chunker {
Fixed(Fixed),
Rabin(Box<Rabin>),
}
Variants§
Implementations§
Trait Implementations§
source§impl From<ChunkerConfig> for Chunker
impl From<ChunkerConfig> for Chunker
source§fn from(cfg: ChunkerConfig) -> Self
fn from(cfg: ChunkerConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq for Chunker
impl PartialEq for Chunker
impl Eq for Chunker
impl StructuralEq for Chunker
impl StructuralPartialEq for Chunker
Auto Trait Implementations§
impl RefUnwindSafe for Chunker
impl Send for Chunker
impl Sync for Chunker
impl Unpin for Chunker
impl UnwindSafe for Chunker
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