ChunkNaming

Trait ChunkNaming 

Source
pub trait ChunkNaming<'a>:
    Fn(&'a str, usize) -> String
    + Send
    + Sync { }
Expand description

Trait for generating chunk file names.

Implementations should provide a function that generates unique names for chunk files.

Implementors§

Source§

impl<'a, F> ChunkNaming<'a> for F
where F: Fn(&'a str, usize) -> String + Send + Sync,

Blanket implementation for chunk naming functions.