pub trait FlowServiceHandler: Send + Sync {
// Required methods
fn flush<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
flow: &'life2 str,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn admin<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
flow: &'life2 str,
function: &'life3 str,
args: Vec<AdminArg>,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}Required Methods§
fn flush<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
flow: &'life2 str,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Sourcefn admin<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
flow: &'life2 str,
function: &'life3 str,
args: Vec<AdminArg>,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn admin<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
flow: &'life2 str,
function: &'life3 str,
args: Vec<AdminArg>,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<FlowResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Runs the flow-admin function function on the flownode that owns
catalog.flow, with the function’s own args (in the order the function
documents).
The route carries no per-function request: the flownode resolves
function itself and answers with its result in the
flow_admin_result extension of the response.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".