pub struct GraphHandle { /* private fields */ }Expand description
Graph 执行句柄 — 用于与运行中的 Graph 交互。
Implementations§
Source§impl GraphHandle
impl GraphHandle
pub async fn decide( &self, barrier_id: BarrierId, decision: BarrierDecision, ) -> Result<(), GraphError>
pub async fn decide_wildcard( &self, node_id: impl Into<String>, decision: BarrierDecision, ) -> Result<(), GraphError>
pub fn cancel(&self)
Auto Trait Implementations§
impl Freeze for GraphHandle
impl RefUnwindSafe for GraphHandle
impl Send for GraphHandle
impl Sync for GraphHandle
impl Unpin for GraphHandle
impl UnsafeUnpin for GraphHandle
impl UnwindSafe for GraphHandle
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