Struct cyfs_lib::StateMapView
source · pub struct StateMapView { /* private fields */ }
Implementations
sourceimpl StateMapView
impl StateMapView
pub fn new(storage: StateView) -> Self
pub fn storage(&self) -> &StateView
pub fn into_storage(self) -> StateView
pub async fn abort(self)
pub async fn get(&self, key: impl Into<String>) -> BuckyResult<Option<ObjectId>>
pub async fn next(&self, step: u32) -> BuckyResult<Vec<(String, ObjectId)>>
pub async fn reset(&self) -> BuckyResult<()>
pub async fn list(&self) -> BuckyResult<Vec<(String, ObjectId)>>
Auto Trait Implementations
impl !RefUnwindSafe for StateMapView
impl Send for StateMapView
impl Sync for StateMapView
impl Unpin for StateMapView
impl !UnwindSafe for StateMapView
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