Skip to main content

UpstreamActor

Trait UpstreamActor 

Source
pub trait UpstreamActor: Send + 'static {
    // Required method
    fn start(self, reporter: impl Reporter<Activity = Event>) -> Handle<()>;
}
Expand description

An actor that can be started with reporters that receive consensus RPC events.

Required Methods§

Source

fn start(self, reporter: impl Reporter<Activity = Event>) -> Handle<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<TContext> UpstreamActor for tempo_commonware_node::follow::upstream::actor::Actor<TContext>
where TContext: Clock + Metrics + Spawner,

Source§

impl<TContext> UpstreamActor for tempo_commonware_node::follow::upstream::in_process::Actor<TContext>
where TContext: Clock + Metrics + Spawner,