[][src]Trait moteconnection::dispatcher::Dispatcher

pub trait Dispatcher {
    fn dispatch_byte(&self) -> u8;
fn get_handle(&mut self) -> DispatcherHandle; }

Handles the dispatching of messages between the user and the trasport layer.

TODO(Kaarel)

Required methods

fn dispatch_byte(&self) -> u8

Returns the dispatch byte used.

fn get_handle(&mut self) -> DispatcherHandle

Emits a DispatcherHandle for the connection to use.

Loading content...

Implementors

impl Dispatcher for RawDispatcher[src]

impl Dispatcher for AMDispatcher[src]

Loading content...