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 duplicate 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 moreAuto Trait Implementations§
impl Freeze for GlobalStateStub
impl !RefUnwindSafe for GlobalStateStub
impl Send for GlobalStateStub
impl Sync for GlobalStateStub
impl Unpin for GlobalStateStub
impl !UnwindSafe for GlobalStateStub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more