tmdb_api/client/
prelude.rs1use std::borrow::Cow;
2
3pub trait Executor: Default + Send + Sync {
4 fn execute<T: serde::de::DeserializeOwned>(
5 &self,
6 url: &str,
7 params: Vec<(&str, Cow<'_, str>)>,
8 ) -> impl Future<Output = Result<T, crate::error::Error>> + Send;
9}