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

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

Required methods

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

fn obtain_bid(&mut self) -> u32

Loading content...

Implementors

impl Dispatcher for DefaultDispatcher[src]

Loading content...