[][src]Trait sealrs::actors::dispatcher::Dispatcher

pub trait Dispatcher: Executor {
    fn dispatch(
        &mut self,
        cell: TSafe<ActorCell>,
        bid: usize,
        mailbox: TSafe<dyn Mailbox + Send>,
        actor: TSafe<dyn Actor + Send>,
        envelope: Envelope
    );
fn obtain_bid(&mut self) -> usize; }

Required methods

fn dispatch(
    &mut self,
    cell: TSafe<ActorCell>,
    bid: usize,
    mailbox: TSafe<dyn Mailbox + Send>,
    actor: TSafe<dyn Actor + Send>,
    envelope: Envelope
)

fn obtain_bid(&mut self) -> usize

Loading content...

Implementors

impl Dispatcher for DefaultDispatcher[src]

impl Dispatcher for PinnedDispatcher[src]

impl Dispatcher for MyDispatcher[src]

Loading content...