Struct cyfs_base::ObjectMapOpEnvMemoryCache
source · pub struct ObjectMapOpEnvMemoryCache { /* private fields */ }
Implementations
sourceimpl ObjectMapOpEnvMemoryCache
impl ObjectMapOpEnvMemoryCache
pub fn new(root_cache: ObjectMapRootCacheRef) -> Self
pub fn new_ref(root_cache: ObjectMapRootCacheRef) -> ObjectMapOpEnvCacheRef
Trait Implementations
sourceimpl ObjectMapOpEnvCache for ObjectMapOpEnvMemoryCache
impl ObjectMapOpEnvCache for ObjectMapOpEnvMemoryCache
fn exists<'life0, 'life1, 'async_trait>(
&'life0 self,
object_id: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<bool>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_object_map<'life0, 'life1, 'async_trait>(
&'life0 self,
object_id: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<Option<ObjectMapRef>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn put_object_map(
&self,
object_id: &ObjectId,
object: ObjectMap
) -> BuckyResult<ObjectMapRef>
fn remove_object_map(&self, object_id: &ObjectId) -> BuckyResult<ObjectMapRef>
fn commit<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn abort(&self)
fn gc<'life0, 'life1, 'async_trait>(
&'life0 self,
single: bool,
target: &'life1 ObjectId
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for ObjectMapOpEnvMemoryCache
impl Send for ObjectMapOpEnvMemoryCache
impl Sync for ObjectMapOpEnvMemoryCache
impl Unpin for ObjectMapOpEnvMemoryCache
impl !UnwindSafe for ObjectMapOpEnvMemoryCache
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