Struct cyfs_lib::GlobalStateMetaStub
source · [−]pub struct GlobalStateMetaStub { /* private fields */ }
Implementations
sourceimpl GlobalStateMetaStub
impl GlobalStateMetaStub
pub fn new(
processor: GlobalStateMetaOutputProcessorRef,
target: Option<ObjectId>,
target_dec_id: Option<ObjectId>
) -> Self
pub async fn add_access(
&self,
item: GlobalStatePathAccessItem
) -> BuckyResult<bool>
pub async fn remove_access(
&self,
item: GlobalStatePathAccessItem
) -> BuckyResult<Option<GlobalStatePathAccessItem>>
pub async fn clear_access(&self) -> BuckyResult<u32>
pub async fn add_link(
&self,
source: impl Into<String>,
target: impl Into<String>
) -> BuckyResult<bool>
pub async fn remove_link(
&self,
source: impl Into<String>
) -> BuckyResult<Option<GlobalStatePathLinkItem>>
pub async fn clear_link(&self) -> BuckyResult<u32>
Auto Trait Implementations
impl !RefUnwindSafe for GlobalStateMetaStub
impl Send for GlobalStateMetaStub
impl Sync for GlobalStateMetaStub
impl Unpin for GlobalStateMetaStub
impl !UnwindSafe for GlobalStateMetaStub
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