pub struct OpEnvRequestor { /* private fields */ }
Implementations§
Source§impl 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§
Source§impl Clone for OpEnvRequestor
impl Clone for OpEnvRequestor
Source§fn clone(&self) -> OpEnvRequestor
fn clone(&self) -> OpEnvRequestor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl 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
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 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 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 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,
Auto Trait Implementations§
impl Freeze for OpEnvRequestor
impl !RefUnwindSafe for OpEnvRequestor
impl Send for OpEnvRequestor
impl Sync for OpEnvRequestor
impl Unpin for OpEnvRequestor
impl !UnwindSafe for OpEnvRequestor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more