pub struct SystemCheck {
client: Client,
config: SystemCheckConfig,
}Expand description
Main system check runner
Fields§
§client: Client§config: SystemCheckConfigImplementations§
Source§impl SystemCheck
impl SystemCheck
Sourcepub fn new(client: Client, config: SystemCheckConfig) -> Self
pub fn new(client: Client, config: SystemCheckConfig) -> Self
Create a new system check instance
Sourcepub fn with_defaults(client: Client) -> Self
pub fn with_defaults(client: Client) -> Self
Create a new system check instance with default configuration
Sourcepub async fn run_all(&self) -> Result<SystemCheckResults, ClientError>
pub async fn run_all(&self) -> Result<SystemCheckResults, ClientError>
Run all enabled system checks in the comprehensive flow:
- Offline tests (if enabled)
- Connectivity tests
- Online tests
- Synchronization verification (if enabled)
pub fn run_all_stream(&self) -> impl Stream<Item = SystemCheckResults>
Sourcepub async fn run_connectivity_tests(&self) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_connectivity_tests(&self) -> Result<Vec<TestInfo>, ClientError>
Run only connectivity tests
Sourcepub async fn run_storage_tests(&self) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_storage_tests(&self) -> Result<Vec<TestInfo>, ClientError>
Run only storage tests
Sourcepub async fn run_blob_service_tests(&self) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_blob_service_tests(&self) -> Result<Vec<TestInfo>, ClientError>
Run only blob service tests
Sourcepub async fn run_offline_storage_tests(
&self,
) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_offline_storage_tests( &self, ) -> Result<Vec<TestInfo>, ClientError>
Run only offline storage tests
Sourcepub async fn run_offline_blob_tests(&self) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_offline_blob_tests(&self) -> Result<Vec<TestInfo>, ClientError>
Run only offline blob tests
Sourcepub async fn run_synchronization_tests(
&self,
) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_synchronization_tests( &self, ) -> Result<Vec<TestInfo>, ClientError>
Run only synchronization tests
Sourcepub async fn run_category_tests(
&self,
category: TestCategory,
) -> Result<Vec<TestInfo>, ClientError>
pub async fn run_category_tests( &self, category: TestCategory, ) -> Result<Vec<TestInfo>, ClientError>
Run tests for a specific category
Source§impl SystemCheck
impl SystemCheck
Sourcepub fn create_with_config(client: Client, config: SystemCheckConfig) -> Self
pub fn create_with_config(client: Client, config: SystemCheckConfig) -> Self
Create a system check instance with custom configuration for FRB API
Auto Trait Implementations§
impl Freeze for SystemCheck
impl !RefUnwindSafe for SystemCheck
impl Send for SystemCheck
impl Sync for SystemCheck
impl Unpin for SystemCheck
impl !UnwindSafe for SystemCheck
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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