pub struct LifecycleService { /* private fields */ }Implementations§
Source§impl LifecycleService
impl LifecycleService
pub fn new(ctx: ServiceContext) -> Self
Source§impl LifecycleService
impl LifecycleService
pub async fn list_flows( &self, req: ListFlowsRequest, ) -> Result<LifecycleFlowsList>
pub async fn get_flow(&self, flow_id: &str) -> Result<LifecycleFlowSummary>
pub async fn list_flows_by_tx( &self, req: ListFlowsByTxRequest, ) -> Result<LifecycleFlowsList>
pub async fn get_flow_by_tx( &self, req: ListFlowsByTxRequest, ) -> Result<LifecycleFlowSummary>
Sourcepub async fn subscribe_open_flows(
&self,
account_id: Option<&str>,
) -> Result<TypedSubscription<LifecycleFlowSummary>>
pub async fn subscribe_open_flows( &self, account_id: Option<&str>, ) -> Result<TypedSubscription<LifecycleFlowSummary>>
Subscribe to open lifecycle flow summaries.
When account_id is Some, uses the private account channel; otherwise
the public open-flows channel (Go SubscribeOpenFlows parity).
Sourcepub async fn subscribe_flow_detail(
&self,
flow_id: &str,
) -> Result<TypedSubscription<LifecycleFlowSummary>>
pub async fn subscribe_flow_detail( &self, flow_id: &str, ) -> Result<TypedSubscription<LifecycleFlowSummary>>
Subscribe to a single flow’s detail updates (requires realtime feature).
Trait Implementations§
Source§impl Clone for LifecycleService
impl Clone for LifecycleService
Source§fn clone(&self) -> LifecycleService
fn clone(&self) -> LifecycleService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LifecycleService
impl !RefUnwindSafe for LifecycleService
impl !UnwindSafe for LifecycleService
impl Send for LifecycleService
impl Sync for LifecycleService
impl Unpin for LifecycleService
impl UnsafeUnpin for LifecycleService
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