Trait GlobalStateOutputProcessor

Source
pub trait GlobalStateOutputProcessor:
    Sync
    + Send
    + 'static {
    // Required methods
    fn get_category(&self) -> GlobalStateCategory;
    fn get_current_root<'life0, 'async_trait>(
        &'life0 self,
        req: RootStateGetCurrentRootOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<RootStateGetCurrentRootOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_op_env<'life0, 'async_trait>(
        &'life0 self,
        req: RootStateCreateOpEnvOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvOutputProcessorRef>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_category(&self) -> GlobalStateCategory

Source

fn get_current_root<'life0, 'async_trait>( &'life0 self, req: RootStateGetCurrentRootOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<RootStateGetCurrentRootOutputResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn create_op_env<'life0, 'async_trait>( &'life0 self, req: RootStateCreateOpEnvOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvOutputProcessorRef>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§