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

Interface Actor

flow-rs/src/node/mod.rs:52–57  ·  view source on GitHub ↗

Trait for interactiving with schedule, which can be derived by `#[derive(Actor)]`.

Source from the content-addressed store, hash-verified

50
51/// Trait for interactiving with schedule, which can be derived by `#[derive(Actor)]`.
52pub trait Actor: Node + Send + 'static {
53 /// Run the actor
54 fn start(self: Box<Self>, _: Context, _: ResourceCollection) -> JoinHandle<Result<()>> {
55 unimplemented!()
56 }
57}
58
59pub(crate) fn load_static(
60 local_key: u64,

Callers

nothing calls this directly

Implementers 5

video_input.rsflow-plugins/src/video_input.rs
node.rsflow-rs/src/loader/python/node.rs
subgraph.rsflow-rs/src/graph/subgraph.rs
transform.rsflow-rs/src/node/transform.rs
shared.rsflow-rs/src/node/shared.rs

Calls

no outgoing calls

Tested by

no test coverage detected