nautilus_common::actor

Trait Actor

Source
pub trait Actor {
    // Required methods
    fn handle(&self, resp: DataResponse);
    fn id(&self) -> UUID4;
}
Expand description

TODO: deprecate for MessageHandler trait which has all the relevant functions

Required Methods§

Source

fn handle(&self, resp: DataResponse)

Source

fn id(&self) -> UUID4

Implementors§