| 169 | /// A script builder is a type that builds itself into a script backend. |
| 170 | #[async_trait(?Send)] |
| 171 | pub trait ScriptBuilder<T: ScriptBackend> { |
| 172 | /// Build the script backend with upstreams given. |
| 173 | async fn build(self, upstreams: Upstreams) -> Result<T>; |
| 174 | } |