Guest User

Untitled

a guest
Apr 26th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. pub trait JsonEventHandler {
  2. fn handle_event(&mut self,
  3. handle: Handle,
  4. asset_id: [u8; 16],
  5. event: Value) -> Box<Future<Item=SysGraph, Error=Box<Error>>>;
  6.  
  7. fn should_handle(&self, event_name: &str) -> bool;
  8. }
Add Comment
Please, Sign In to add comment