pub struct SzDiagnosticCore {
handle: *mut c_void,
}
Expand description
Core implementation of the SzDiagnostic trait
Fields§
§handle: *mut c_void
Implementations§
Trait Implementations§
Source§impl Drop for SzDiagnosticCore
impl Drop for SzDiagnosticCore
Source§impl SzDiagnostic for SzDiagnosticCore
impl SzDiagnostic for SzDiagnosticCore
Source§fn check_repository_performance(
&self,
seconds_to_run: i64,
) -> SzResult<JsonString>
fn check_repository_performance( &self, seconds_to_run: i64, ) -> SzResult<JsonString>
Runs a performance test for the specified duration
Source§fn get_feature(&self, feature_id: FeatureId) -> SzResult<JsonString>
fn get_feature(&self, feature_id: FeatureId) -> SzResult<JsonString>
Gets feature information by feature ID
Source§fn get_repository_info(&self) -> SzResult<JsonString>
fn get_repository_info(&self) -> SzResult<JsonString>
Gets repository information and statistics
Source§fn purge_repository(&self) -> SzResult<()>
fn purge_repository(&self) -> SzResult<()>
Purges all data from the repository (configuration remains)
Auto Trait Implementations§
impl Freeze for SzDiagnosticCore
impl RefUnwindSafe for SzDiagnosticCore
impl !Send for SzDiagnosticCore
impl !Sync for SzDiagnosticCore
impl Unpin for SzDiagnosticCore
impl UnwindSafe for SzDiagnosticCore
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