pub struct ObjectMapOpEnvContainer { /* private fields */ }
Implementations§
Source§impl ObjectMapOpEnvContainer
impl ObjectMapOpEnvContainer
pub fn start_monitor(&self)
pub fn add_env(&self, env: ObjectMapOpEnv, source: Option<OpEnvSourceInfo>)
pub fn get_op_env( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectMapOpEnv>
pub fn get_path_op_env( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectMapPathOpEnvRef>
pub fn get_single_op_env( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectMapSingleOpEnvRef>
pub fn get_isolate_path_op_env( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectMapIsolatePathOpEnvRef>
pub async fn get_current_root( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectId>
pub async fn update( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectId>
pub async fn commit( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<ObjectId>
pub fn abort( &self, sid: u64, source: Option<&OpEnvSourceInfo>, ) -> BuckyResult<()>
Trait Implementations§
Source§impl Clone for ObjectMapOpEnvContainer
impl Clone for ObjectMapOpEnvContainer
Source§fn clone(&self) -> ObjectMapOpEnvContainer
fn clone(&self) -> ObjectMapOpEnvContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ObjectMapOpEnvContainer
impl RefUnwindSafe for ObjectMapOpEnvContainer
impl Send for ObjectMapOpEnvContainer
impl Sync for ObjectMapOpEnvContainer
impl Unpin for ObjectMapOpEnvContainer
impl UnwindSafe for ObjectMapOpEnvContainer
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