pub trait StreamingQueryExt {
// Required methods
fn is_active_async(
&self,
) -> impl Future<Output = Result<bool>> + Send + 'static;
fn status_async(
&self,
) -> impl Future<Output = Result<StreamingQueryStatus>> + Send + 'static;
fn stop_async(&self) -> impl Future<Output = Result<()>> + Send + 'static;
fn await_termination_async(
&self,
timeout_sec: Option<f64>,
) -> impl Future<Output = Result<Option<bool>>> + Send + 'static;
fn exception_async(
&self,
) -> impl Future<Output = Result<Option<StreamingQueryException>>> + Send + 'static;
fn last_progress_async(
&self,
) -> impl Future<Output = Result<Option<String>>> + Send + 'static;
fn recent_progress_async(
&self,
) -> impl Future<Output = Result<Vec<String>>> + Send + 'static;
fn process_all_available_async(
&self,
) -> impl Future<Output = Result<()>> + Send + 'static;
fn explain_async(
&self,
extended: bool,
) -> impl Future<Output = Result<String>> + Send + 'static;
}Expand description
Async actions on a StreamingQuery.
Required Methods§
Sourcefn is_active_async(&self) -> impl Future<Output = Result<bool>> + Send + 'static
fn is_active_async(&self) -> impl Future<Output = Result<bool>> + Send + 'static
Async StreamingQuery::is_active.
Sourcefn status_async(
&self,
) -> impl Future<Output = Result<StreamingQueryStatus>> + Send + 'static
fn status_async( &self, ) -> impl Future<Output = Result<StreamingQueryStatus>> + Send + 'static
Async StreamingQuery::status.
Sourcefn stop_async(&self) -> impl Future<Output = Result<()>> + Send + 'static
fn stop_async(&self) -> impl Future<Output = Result<()>> + Send + 'static
Async StreamingQuery::stop.
Sourcefn await_termination_async(
&self,
timeout_sec: Option<f64>,
) -> impl Future<Output = Result<Option<bool>>> + Send + 'static
fn await_termination_async( &self, timeout_sec: Option<f64>, ) -> impl Future<Output = Result<Option<bool>>> + Send + 'static
Sourcefn exception_async(
&self,
) -> impl Future<Output = Result<Option<StreamingQueryException>>> + Send + 'static
fn exception_async( &self, ) -> impl Future<Output = Result<Option<StreamingQueryException>>> + Send + 'static
Async StreamingQuery::exception.
Sourcefn last_progress_async(
&self,
) -> impl Future<Output = Result<Option<String>>> + Send + 'static
fn last_progress_async( &self, ) -> impl Future<Output = Result<Option<String>>> + Send + 'static
Sourcefn recent_progress_async(
&self,
) -> impl Future<Output = Result<Vec<String>>> + Send + 'static
fn recent_progress_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static
Sourcefn explain_async(
&self,
extended: bool,
) -> impl Future<Output = Result<String>> + Send + 'static
fn explain_async( &self, extended: bool, ) -> impl Future<Output = Result<String>> + Send + 'static
Async StreamingQuery::explain.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".