Struct myo::Hub
[−]
[src]
pub struct Hub(_);
Hub
Methods
impl Hub
[src]
fn init<AppID: Into<Vec<u8>>>(application_identifier: AppID) -> Result<Self>
Initialize
fn set_locking_policy(&self, locking_policy: LockingPolicy) -> Result<()>
fn run(&self, duration_ms: u32, listener: &mut EventListener) -> Result<()>
Process Events and call the provided callback as they occur
Trait Implementations
impl Drop for Hub
[src]
fn drop(&mut self)
Shutdown