Skip to main content

CoreDump

Trait CoreDump 

Source
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§

Source

fn version(&self) -> Result<String>

Source

fn kcl_code(&self) -> Result<String>

Source

fn os(&self) -> Result<OsInfo>

Source

fn is_desktop(&self) -> Result<bool>

Source

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,

Source

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§

Source

fn dump<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<CoreDumpInfo>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dump the app info.

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.

Implementors§