pub trait InternalCommandSender {
    // Required methods
    fn broadcast(&mut self, internal_cmd: InternalStorageCommand);
    fn next(&mut self) -> Option<InternalStorageCommand>;
}
Expand description

Allows broadcasting internal commands to all workers.

Required Methods§

source

fn broadcast(&mut self, internal_cmd: InternalStorageCommand)

Broadcasts the given command to all workers.

source

fn next(&mut self) -> Option<InternalStorageCommand>

Returns the next available command, if any. This returns None when there are currently no commands but there might be commands again in the future.

Implementations on Foreign Types§

source§

impl InternalCommandSender for Sequencer<InternalStorageCommand>

Implementors§