#![allow(rustdoc::broken_intra_doc_links)]
pub(crate) mod dynamic;
pub trait FleetRouting: std::fmt::Debug + Send + Sync {
fn optimize_tours(
&self,
_req: crate::model::OptimizeToursRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<crate::model::OptimizeToursResponse>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn batch_optimize_tours(
&self,
_req: crate::model::BatchOptimizeToursRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_operation(
&self,
_req: google_cloud_longrunning::model::GetOperationRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_polling_error_policy(
&self,
_options: &crate::RequestOptions,
) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
}
fn get_polling_backoff_policy(
&self,
_options: &crate::RequestOptions,
) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
}
}