MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / ScriptBuilder

Interface ScriptBuilder

droute/src/router/script/mod.rs:171–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Implementers 2

native.rsdroute/src/router/script/native.rs
mod.rsdroute/src/router/script/rune_scriptin

Calls

no outgoing calls

Tested by

no test coverage detected