pub struct AgTrace { /* private fields */ }Implementations§
Source§impl AgTrace
impl AgTrace
pub fn setup<F>(
config: InitConfig,
progress_fn: Option<F>,
) -> Result<InitResult>where
F: FnMut(InitProgress),
pub async fn connect_or_create(data_dir: PathBuf) -> Result<Self>
pub async fn open(data_dir: PathBuf) -> Result<Self>
pub fn diagnose(&self) -> Result<Vec<DiagnoseResult>>
pub fn projects(&self) -> ProjectOps
pub fn sessions(&self) -> SessionOps
pub fn insights(&self) -> InsightOps
pub fn watch_service(&self) -> WatchService
pub fn workspace_monitor(&self) -> Result<MonitorBuilder>
pub fn database(&self) -> Arc<Mutex<Database>>
pub fn config(&self) -> &Config
pub fn check_file( file_path: &str, provider: &ProviderAdapter, provider_name: &str, ) -> Result<CheckResult>
pub fn inspect_file( file_path: &str, lines: usize, json_format: bool, ) -> Result<InspectResult>
Auto Trait Implementations§
impl Freeze for AgTrace
impl RefUnwindSafe for AgTrace
impl Send for AgTrace
impl Sync for AgTrace
impl Unpin for AgTrace
impl UnsafeUnpin for AgTrace
impl UnwindSafe for AgTrace
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