pub trait CoreDump: Clone {
// Required methods
fn token(&self) -> Result<String>;
fn base_api_url(&self) -> Result<String>;
fn version(&self) -> Result<String>;
fn kcl_code(&self) -> Result<String>;
fn pool(&self) -> Result<String>;
fn os(&self) -> Result<OsInfo>;
fn is_desktop(&self) -> Result<bool>;
fn get_webrtc_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebrtcStats>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_client_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<JValue>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn screenshot<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn upload_screenshot<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
coredump_id: &'life1 Uuid,
zoo_client: &'life2 Client,
) -> Pin<Box<dyn Future<Output = Result<String>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn dump<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CoreDumpInfo>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}
Required Methods§
fn base_api_url(&self) -> Result<String>
fn version(&self) -> Result<String>
fn kcl_code(&self) -> Result<String>
fn pool(&self) -> Result<String>
fn os(&self) -> Result<OsInfo>
fn is_desktop(&self) -> Result<bool>
fn get_webrtc_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WebrtcStats>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_client_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<JValue>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provided Methods§
Sourcefn upload_screenshot<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
coredump_id: &'life1 Uuid,
zoo_client: &'life2 Client,
) -> Pin<Box<dyn Future<Output = Result<String>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn upload_screenshot<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
coredump_id: &'life1 Uuid,
zoo_client: &'life2 Client,
) -> Pin<Box<dyn Future<Output = Result<String>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get a screenshot of the app and upload it to public cloud storage.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.