Struct cyfs_lib::GlobalStateStub
source · [−]pub struct GlobalStateStub { /* private fields */ }
Implementations
sourceimpl 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>
Trait Implementations
sourceimpl Clone for GlobalStateStub
impl Clone for GlobalStateStub
sourcefn clone(&self) -> GlobalStateStub
fn clone(&self) -> GlobalStateStub
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for GlobalStateStub
impl Send for GlobalStateStub
impl Sync for GlobalStateStub
impl Unpin for GlobalStateStub
impl !UnwindSafe for GlobalStateStub
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