pub struct ChunkIndex { /* private fields */ }Implementations§
Source§impl ChunkIndex
impl ChunkIndex
pub fn new(configure: &'static Configure) -> Self
pub fn init_dir(&mut self, dir: &Path) -> Result<(), StoreError>
pub fn change_dir(&mut self) -> Result<(), StoreError>
pub fn write(&mut self, record: ChunkIndexRd) -> Result<u64, StoreError>
pub fn finish(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkIndex
impl RefUnwindSafe for ChunkIndex
impl Send for ChunkIndex
impl Sync for ChunkIndex
impl Unpin for ChunkIndex
impl UnwindSafe for ChunkIndex
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