Struct organelle::Effector [] [src]

pub struct Effector<S: Signal, Y: Synapse> { /* fields omitted */ }

the effector is a soma's method of communicating between other somas

the effector can send a message to any destination, provided you have its handle. it will route these messages asynchronously to their destination, so communication can be tricky, however, this is truly the best way I've found to compose efficient, scalable systems.

Methods

impl<S: Signal, Y: Synapse> Effector<S, Y>
[src]

[src]

get the Handle associated with the soma that owns this effector

[src]

send a message to dest soma

[src]

send a batch of messages in order to dest soma

[src]

stop the organelle

[src]

stop the organelle because of an error

[src]

spawn a future on the reactor

[src]

get a reactor handle

[src]

get a remote effector for use across threads

Trait Implementations

impl<S: Signal, Y: Synapse> Clone for Effector<S, Y>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more