Struct cyfs_lib::OpEnvRequestor
source · [−]pub struct OpEnvRequestor { /* private fields */ }
Implementations
sourceimpl OpEnvRequestor
impl OpEnvRequestor
pub fn new(
category: GlobalStateCategory,
op_env_type: ObjectMapOpEnvType,
sid: u64,
dec_id: Option<SharedObjectStackDecID>,
requestor: HttpRequestorRef
) -> Self
pub fn category(&self) -> &GlobalStateCategory
pub fn into_processor(self) -> OpEnvOutputProcessorRef
pub fn clone_processor(&self) -> OpEnvOutputProcessorRef
Trait Implementations
sourceimpl Clone for OpEnvRequestor
impl Clone for OpEnvRequestor
sourcefn clone(&self) -> OpEnvRequestor
fn clone(&self) -> OpEnvRequestor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl OpEnvOutputProcessor for OpEnvRequestor
impl OpEnvOutputProcessor for OpEnvRequestor
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
'life0: 'async_trait,
Self: 'async_trait,
fn load_by_path<'life0, 'async_trait>(
&'life0 self,
req: OpEnvLoadByPathOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn create_new<'life0, 'async_trait>(
&'life0 self,
req: OpEnvCreateNewOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn lock<'life0, 'async_trait>(
&'life0 self,
req: OpEnvLockOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_current_root<'life0, 'async_trait>(
&'life0 self,
req: OpEnvGetCurrentRootOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvGetCurrentRootOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn commit<'life0, 'async_trait>(
&'life0 self,
req: OpEnvCommitOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvCommitOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn abort<'life0, 'async_trait>(
&'life0 self,
req: OpEnvAbortOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn metadata<'life0, 'async_trait>(
&'life0 self,
req: OpEnvMetadataOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvMetadataOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_by_key<'life0, 'async_trait>(
&'life0 self,
req: OpEnvGetByKeyOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvGetByKeyOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn insert_with_key<'life0, 'async_trait>(
&'life0 self,
req: OpEnvInsertWithKeyOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn set_with_key<'life0, 'async_trait>(
&'life0 self,
req: OpEnvSetWithKeyOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvSetWithKeyOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_with_key<'life0, 'async_trait>(
&'life0 self,
req: OpEnvRemoveWithKeyOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvRemoveWithKeyOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn contains<'life0, 'async_trait>(
&'life0 self,
req: OpEnvContainsOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvContainsOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
req: OpEnvInsertOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvInsertOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn remove<'life0, 'async_trait>(
&'life0 self,
req: OpEnvRemoveOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvRemoveOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn next<'life0, 'async_trait>(
&'life0 self,
req: OpEnvNextOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvNextOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn reset<'life0, 'async_trait>(
&'life0 self,
req: OpEnvResetOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
req: OpEnvListOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvListOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for OpEnvRequestor
impl Send for OpEnvRequestor
impl Sync for OpEnvRequestor
impl Unpin for OpEnvRequestor
impl !UnwindSafe for OpEnvRequestor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more