Skip to main content

LogManager

Trait LogManager 

Source
pub trait LogManager: Send + Sync {
    // Required method
    fn log_get<'life0, 'async_trait>(
        &'life0 self,
        args: LogGetRequest,
    ) -> Pin<Box<dyn Future<Output = Result<LogGetResponse, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Log manager interface.

Required Methods§

Source

fn log_get<'life0, 'async_trait>( &'life0 self, args: LogGetRequest, ) -> Pin<Box<dyn Future<Output = Result<LogGetResponse, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Request to host to fetch logs.

The PermissionLogView permission is required to call this method.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§