Enum wnfs_unixfs_file::chunker::ChunkerConfig
source · pub enum ChunkerConfig {
Fixed(usize),
Rabin,
}
Expand description
Chunker configuration.
Variants§
Trait Implementations§
source§impl Clone for ChunkerConfig
impl Clone for ChunkerConfig
source§fn clone(&self) -> ChunkerConfig
fn clone(&self) -> ChunkerConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChunkerConfig
impl Debug for ChunkerConfig
source§impl Display for ChunkerConfig
impl Display for ChunkerConfig
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 FromStr for ChunkerConfig
impl FromStr for ChunkerConfig
source§impl PartialEq for ChunkerConfig
impl PartialEq for ChunkerConfig
source§fn eq(&self, other: &ChunkerConfig) -> bool
fn eq(&self, other: &ChunkerConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChunkerConfig
impl Eq for ChunkerConfig
impl StructuralEq for ChunkerConfig
impl StructuralPartialEq for ChunkerConfig
Auto Trait Implementations§
impl RefUnwindSafe for ChunkerConfig
impl Send for ChunkerConfig
impl Sync for ChunkerConfig
impl Unpin for ChunkerConfig
impl UnwindSafe for ChunkerConfig
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