Type Alias punt::Context

source ·
pub type Context = Context;
Expand description

A punt context, necessary for USB communication.

Aliased Type§

struct Context { /* private fields */ }

Trait Implementations§

source§

impl UsbContext for Context

source§

fn find_targets(&self) -> Result<Vec<Target<Self>>>

Returns information about all connected targets in bootloader mode. USB devices not in bootloader mode cannot be detected, since their protocol for entering bootloader mode is not specified. Read more
source§

fn pick_target(&self, serial: Option<&str>) -> Result<Target<Self>>

Returns one target if either Read more