pub struct ProjectOps { /* private fields */ }Implementations§
Source§impl ProjectOps
impl ProjectOps
pub fn new( db: Arc<Mutex<Database>>, provider_configs: Arc<Vec<(String, PathBuf)>>, ) -> Self
pub fn list(&self) -> Result<Vec<ProjectInfo>>
pub fn scan<F>(
&self,
scope: ProjectScope,
force: bool,
provider_filter: Option<&str>,
on_progress: F,
) -> Result<ScanSummary>where
F: FnMut(IndexProgress),
Auto Trait Implementations§
impl Freeze for ProjectOps
impl RefUnwindSafe for ProjectOps
impl Send for ProjectOps
impl Sync for ProjectOps
impl Unpin for ProjectOps
impl UnwindSafe for ProjectOps
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