pub trait Prompter {
// Required methods
fn select_example(&self) -> Result<String>;
fn prompt_project_name(&self, default: &str) -> Result<String>;
fn select_chip(&self) -> Result<String>;
fn confirm_overwrite(&self, dir_name: &str) -> Result<bool>;
}Required Methods§
fn select_example(&self) -> Result<String>
fn prompt_project_name(&self, default: &str) -> Result<String>
fn select_chip(&self) -> Result<String>
fn confirm_overwrite(&self, dir_name: &str) -> Result<bool>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".