Trait quartz_cli::PairMap
source · pub trait PairMap<'a, K = String, V = String>{
const NAME: &'static str = "key-value pair";
const EXPECTED: &'static str = "<key>=<value>";
// Required method
fn map(&mut self) -> &mut HashMap<K, V>;
// Provided methods
fn pair(input: &'a str) -> Option<(K, V)> { ... }
fn set(&mut self, input: &'a str) { ... }
}
Provided Associated Constants§
const NAME: &'static str = "key-value pair"
const EXPECTED: &'static str = "<key>=<value>"
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.