pub trait CoreDump: Clone {
// Required methods
fn version(&self) -> Result<String>;
fn kcl_code(&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 method
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 version(&self) -> Result<String>
fn kcl_code(&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§
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.