Struct peermaps_ingest::Ingest
source · [−]Fields
progress: Arc<RwLock<Progress>>
Implementations
sourceimpl Ingest
impl Ingest
pub fn new(stages: &[&str]) -> Self
pub async fn scan(&mut self, pbf_file: &str) -> ScanTable
pub async fn ingest(
&mut self,
db: EDB,
pbf_file: &str,
scan_table: ScanTable,
ingest_options: &IngestOptions
)
pub async fn optimize(
&mut self,
in_db: EDB,
out_db: EDB,
xy_divs: (usize, usize)
) -> Result<(), Error>
Auto Trait Implementations
impl !RefUnwindSafe for Ingest
impl Send for Ingest
impl Sync for Ingest
impl Unpin for Ingest
impl !UnwindSafe for Ingest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more