Struct cyfs_lib::GlobalStateStub
source · pub struct GlobalStateStub { /* private fields */ }
Implementations§
source§impl GlobalStateStub
impl GlobalStateStub
pub fn new( processor: GlobalStateOutputProcessorRef, target: Option<ObjectId>, target_dec_id: Option<ObjectId> ) -> Self
pub async fn get_current_root(&self) -> BuckyResult<(ObjectId, u64)>
pub async fn get_dec_root(&self) -> BuckyResult<DecRootInfo>
pub async fn create_path_op_env(&self) -> BuckyResult<PathOpEnvStub>
pub async fn create_path_op_env_with_access( &self, access: Option<RootStateOpEnvAccess> ) -> BuckyResult<PathOpEnvStub>
pub async fn create_single_op_env(&self) -> BuckyResult<SingleOpEnvStub>
pub async fn create_single_op_env_with_access( &self, access: Option<RootStateOpEnvAccess> ) -> BuckyResult<SingleOpEnvStub>
pub async fn create_isolate_path_op_env( &self ) -> BuckyResult<IsolatePathOpEnvStub>
pub async fn create_isolate_path_op_env_with_access( &self, access: Option<RootStateOpEnvAccess> ) -> BuckyResult<IsolatePathOpEnvStub>
Trait Implementations§
source§impl Clone for GlobalStateStub
impl Clone for GlobalStateStub
source§fn clone(&self) -> GlobalStateStub
fn clone(&self) -> GlobalStateStub
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 more