Trait dfir_rs::util::simulation::MessageSender

source ·
pub trait MessageSender {
    // Required method
    fn send(&self, message: MessageWithAddress);
}
Expand description

A message sender is used to send messages to an inbox on a host.

Required Methods§

source

fn send(&self, message: MessageWithAddress)

Send a message to the inbox on the host.

Implementations on Foreign Types§

source§

impl<T: 'static> MessageSender for UnboundedSender<(T, Address)>

source§

fn send(&self, message: (Box<dyn Any>, Address))

Implementors§