Trait OpEnvOutputProcessor

Source
pub trait OpEnvOutputProcessor:
    Sync
    + Send
    + 'static {
Show 20 methods // Required methods fn get_sid(&self) -> u64; fn get_category(&self) -> GlobalStateCategory; fn load<'life0, 'async_trait>( &'life0 self, req: OpEnvLoadOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn load_by_path<'life0, 'async_trait>( &'life0 self, req: OpEnvLoadByPathOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_new<'life0, 'async_trait>( &'life0 self, req: OpEnvCreateNewOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_current_root<'life0, 'async_trait>( &'life0 self, req: OpEnvGetCurrentRootOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvGetCurrentRootOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn lock<'life0, 'async_trait>( &'life0 self, req: OpEnvLockOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn commit<'life0, 'async_trait>( &'life0 self, req: OpEnvCommitOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvCommitOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn abort<'life0, 'async_trait>( &'life0 self, req: OpEnvAbortOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn metadata<'life0, 'async_trait>( &'life0 self, req: OpEnvMetadataOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvMetadataOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_by_key<'life0, 'async_trait>( &'life0 self, req: OpEnvGetByKeyOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvGetByKeyOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn insert_with_key<'life0, 'async_trait>( &'life0 self, req: OpEnvInsertWithKeyOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn set_with_key<'life0, 'async_trait>( &'life0 self, req: OpEnvSetWithKeyOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvSetWithKeyOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn remove_with_key<'life0, 'async_trait>( &'life0 self, req: OpEnvRemoveWithKeyOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvRemoveWithKeyOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn contains<'life0, 'async_trait>( &'life0 self, req: OpEnvContainsOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvContainsOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn insert<'life0, 'async_trait>( &'life0 self, req: OpEnvInsertOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvInsertOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn remove<'life0, 'async_trait>( &'life0 self, req: OpEnvRemoveOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvRemoveOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn next<'life0, 'async_trait>( &'life0 self, req: OpEnvNextOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvNextOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn reset<'life0, 'async_trait>( &'life0 self, req: OpEnvResetOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list<'life0, 'async_trait>( &'life0 self, req: OpEnvListOutputRequest, ) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvListOutputResponse>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

fn get_sid(&self) -> u64

Source

fn get_category(&self) -> GlobalStateCategory

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§