pub struct InsightOps { /* private fields */ }Implementations§
Source§impl InsightOps
impl InsightOps
pub fn new( db: Arc<Mutex<Database>>, provider_configs: Arc<Vec<(String, PathBuf)>>, ) -> Self
pub fn corpus_stats( &self, project_hash: Option<&ProjectHash>, limit: usize, ) -> Result<CorpusStats>
pub fn tool_usage( &self, limit: Option<usize>, provider: Option<String>, ) -> Result<StatsResult>
Auto Trait Implementations§
impl Freeze for InsightOps
impl RefUnwindSafe for InsightOps
impl Send for InsightOps
impl Sync for InsightOps
impl Unpin for InsightOps
impl UnsafeUnpin for InsightOps
impl UnwindSafe for InsightOps
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