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

Class RuneScript

droute/src/router/script/rune_scripting/mod.rs:44–50  ·  view source on GitHub ↗

A Rune script backend for droute

Source from the content-addressed store, hash-verified

42
43/// A Rune script backend for droute
44pub struct RuneScript {
45 upstreams: Upstreams,
46 // We cannot store Vm "as is" here as otherwise RuneScript is not Sync and &RuneScript wouldn't be Send.
47 unit: Arc<Unit>,
48 context: Arc<RuntimeContext>,
49 inited: HashMap<String, Utils>,
50}
51
52#[async_trait]
53impl ScriptBackend for RuneScript {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected