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
impl Copy for ChunkerConfig
impl Eq for ChunkerConfig
impl StructuralPartialEq for ChunkerConfig
Auto Trait Implementations§
impl Freeze for ChunkerConfig
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