Trait ractor::port::output::OutputPortSubscriberTrait

source ·
pub trait OutputPortSubscriberTrait<I>: Send
where I: Message + Clone,
{ // Required method fn subscribe_to_port(&self, port: &OutputPort<I>); }
Expand description

A trait for subscribing to an OutputPort

Required Methods§

source

fn subscribe_to_port(&self, port: &OutputPort<I>)

Subscribe to the output port

Implementors§

source§

impl<I, O> OutputPortSubscriberTrait<I> for ActorRef<O>
where I: Message + Clone, O: Message + From<I>,