pub struct FlowUpdateService { /* private fields */ }Implementations§
Source§impl FlowUpdateService
impl FlowUpdateService
Sourcepub async fn from_url(aquila_url: String, definition_path: &str) -> Self
pub async fn from_url(aquila_url: String, definition_path: &str) -> Self
Create a new FlowUpdateService instance from an Aquila URL and a definition path.
This will read the definition files from the given path and initialize the service with the data types, runtime definitions, and flow types.
pub fn with_flow_types(self, flow_types: Vec<FlowType>) -> Self
pub fn with_data_types(self, data_types: Vec<DataType>) -> Self
pub fn with_runtime_definitions( self, runtime_definitions: Vec<RuntimeFunctionDefinition>, ) -> Self
pub async fn send(&self)
Auto Trait Implementations§
impl Freeze for FlowUpdateService
impl !RefUnwindSafe for FlowUpdateService
impl Send for FlowUpdateService
impl Sync for FlowUpdateService
impl Unpin for FlowUpdateService
impl UnsafeUnpin for FlowUpdateService
impl !UnwindSafe for FlowUpdateService
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request