Function serde_spaniel::from_prompt
source · [−]pub fn from_prompt<'de, T: Deserialize<'de>, P: PromptRequester>(
prompt: P
) -> Result<T>
Expand description
Deserialise a value of type T
from a prompt while handling undos,
restarts, meta-commands, and scope compacting.