pub trait CallbackHandler {
    // Required method
    fn handle(&mut self, msg: MaaMsg);
}
Expand description

The callback handler trait.

This trait is used to handle the callback from MaaFramework.

Required Methods§

source

fn handle(&mut self, msg: MaaMsg)

Implementors§