Struct sc2::CtrlcBreakerCell
[−]
[src]
pub struct CtrlcBreakerCell {}
cell that stops the organelle upon Ctrl-C
Methods
impl CtrlcBreakerCell
[src]
Trait Implementations
impl Cell for CtrlcBreakerCell
[src]
type Message = Message
user-defined message to be passed between cells
type Role = Role
user-defined roles for connections
fn update(self, msg: Protocol<Message, Role>) -> Result<Self>
[src]
apply any changes to the cell's state as a result of _msg
fn run(self) -> Result<(), Error>
[src]
spin up an event loop and run cell