pub struct Ingester { /* private fields */ }Implementations§
Source§impl Ingester
impl Ingester
pub fn new(collection_path: PathBuf, options: IngestOptions) -> Self
Sourcepub fn ingest_from_fs(&mut self, source_path: &Path) -> Result<IngestStats>
pub fn ingest_from_fs(&mut self, source_path: &Path) -> Result<IngestStats>
Ingest from filesystem with default lock configuration
Sourcepub fn ingest_from_fs_with_lock_config(
&mut self,
source_path: &Path,
timeout_secs: u64,
holder_info: String,
) -> Result<IngestStats>
pub fn ingest_from_fs_with_lock_config( &mut self, source_path: &Path, timeout_secs: u64, holder_info: String, ) -> Result<IngestStats>
Ingest from filesystem with custom lock configuration
Auto Trait Implementations§
impl Freeze for Ingester
impl RefUnwindSafe for Ingester
impl Send for Ingester
impl Sync for Ingester
impl Unpin for Ingester
impl UnwindSafe for Ingester
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