MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / new

Method new

flow-rs/examples/graph.rs:24–30  ·  view source on GitHub ↗
(name: String, _: &toml::value::Table)

Source from the content-addressed store, hash-verified

22
23impl Transport {
24 fn new(name: String, _: &toml::value::Table) -> Transport {
25 Transport {
26 _name: name,
27 inp: Default::default(),
28 out: Default::default(),
29 }
30 }
31
32 async fn initialize(&mut self, _: ResourceCollection) {}
33 async fn finalize(&mut self) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected