pub struct StateView { /* private fields */ }
Implementations
sourceimpl StateView
impl StateView
pub fn new(
global_state: GlobalStateOutputProcessorRef,
path: impl Into<String>,
content_type: ObjectMapSimpleContentType,
target: Option<ObjectId>,
dec_id: Option<ObjectId>
) -> Self
pub fn new_with_stack(
stack: UniCyfsStackRef,
category: GlobalStateCategory,
path: impl Into<String>,
content_type: ObjectMapSimpleContentType,
target: Option<ObjectId>,
dec_id: Option<ObjectId>
) -> Self
pub fn path(&self) -> &str
pub fn stub(&self) -> Option<Arc<SingleOpEnvStub>>
pub async fn abort(&mut self)
pub async fn load(&self) -> BuckyResult<bool>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StateView
impl Send for StateView
impl Sync for StateView
impl Unpin for StateView
impl !UnwindSafe for StateView
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