pub struct IsolatePathOpEnvStub { /* private fields */ }
Implementations§
Source§impl IsolatePathOpEnvStub
impl IsolatePathOpEnvStub
pub async fn create_new( &self, content_type: ObjectMapSimpleContentType, ) -> BuckyResult<()>
pub async fn create_new_with_option( &self, content_type: ObjectMapSimpleContentType, options: &CreateObjectMapOption, ) -> BuckyResult<()>
pub async fn load(&self, target: ObjectId) -> BuckyResult<()>
pub async fn load_with_inner_path( &self, target: ObjectId, inner_path: impl Into<String>, ) -> BuckyResult<()>
pub async fn load_by_path(&self, path: impl Into<String>) -> BuckyResult<()>
pub async fn get_current_root(&self) -> BuckyResult<DecRootInfo>
pub async fn get_by_key( &self, path: impl Into<String>, key: impl Into<String>, ) -> BuckyResult<Option<ObjectId>>
pub async fn create_new_with_key( &self, path: impl Into<String>, key: impl Into<String>, content_type: ObjectMapSimpleContentType, ) -> BuckyResult<()>
pub async fn create_new_with_key_and_option( &self, path: impl Into<String>, key: impl Into<String>, content_type: ObjectMapSimpleContentType, options: &CreateObjectMapOption, ) -> BuckyResult<()>
pub async fn insert_with_key( &self, path: impl Into<String>, key: impl Into<String>, value: &ObjectId, ) -> BuckyResult<()>
pub async fn set_with_key( &self, path: impl Into<String>, key: impl Into<String>, value: &ObjectId, prev_value: Option<ObjectId>, auto_insert: bool, ) -> BuckyResult<Option<ObjectId>>
pub async fn remove_with_key( &self, path: impl Into<String>, key: impl Into<String>, prev_value: Option<ObjectId>, ) -> BuckyResult<Option<ObjectId>>
pub async fn get_by_path( &self, full_path: impl Into<String>, ) -> BuckyResult<Option<ObjectId>>
pub async fn create_new_with_path( &self, full_path: impl Into<String>, content_type: ObjectMapSimpleContentType, ) -> BuckyResult<()>
pub async fn create_new_with_path_and_option( &self, full_path: impl Into<String>, content_type: ObjectMapSimpleContentType, options: &CreateObjectMapOption, ) -> BuckyResult<()>
pub async fn insert_with_path( &self, full_path: impl Into<String>, value: &ObjectId, ) -> BuckyResult<()>
pub async fn set_with_path( &self, full_path: impl Into<String>, value: &ObjectId, prev_value: Option<ObjectId>, auto_insert: bool, ) -> BuckyResult<Option<ObjectId>>
pub async fn remove_with_path( &self, full_path: impl Into<String>, prev_value: Option<ObjectId>, ) -> BuckyResult<Option<ObjectId>>
pub async fn contains( &self, path: impl Into<String>, object_id: &ObjectId, ) -> BuckyResult<bool>
pub async fn insert( &self, path: impl Into<String>, object_id: &ObjectId, ) -> BuckyResult<bool>
pub async fn remove( &self, path: impl Into<String>, object_id: &ObjectId, ) -> BuckyResult<bool>
pub async fn update(&self) -> BuckyResult<DecRootInfo>
pub async fn commit(self) -> BuckyResult<DecRootInfo>
pub async fn abort(self) -> BuckyResult<()>
pub async fn list( &self, path: impl Into<String>, ) -> BuckyResult<Vec<ObjectMapContentItem>>
pub async fn metadata( &self, path: impl Into<String>, ) -> BuckyResult<ObjectMapMetaData>
Trait Implementations§
Source§impl Clone for IsolatePathOpEnvStub
impl Clone for IsolatePathOpEnvStub
Source§fn clone(&self) -> IsolatePathOpEnvStub
fn clone(&self) -> IsolatePathOpEnvStub
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 moreAuto Trait Implementations§
impl Freeze for IsolatePathOpEnvStub
impl !RefUnwindSafe for IsolatePathOpEnvStub
impl Send for IsolatePathOpEnvStub
impl Sync for IsolatePathOpEnvStub
impl Unpin for IsolatePathOpEnvStub
impl !UnwindSafe for IsolatePathOpEnvStub
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