usecrate::error::AvrResult;pubmodstk500v1;/// Currently only implements program/reset. Can be extended in
/// future to do other operations like dump flash, erase chip, etc.,
pub(crate)traitProgrammerTrait{fnprogram_firmware(&self,
firmware:Vec<u8>,
verify:bool,
enable_progress_bar:bool,
)->AvrResult<()>;fnreset(&self)->AvrResult<()>;}