pub trait PromptResponder {
    fn begin_scope(&mut self, name: &str, size: Option<usize>) -> Result<()>;
    fn end_scope(&mut self) -> Result<()>;
    fn respond(
        &mut self,
        kind: RequestKind,
        prompt: &str,
        response: &str
    ) -> Result<()>; }
Expand description

Traits for prompts which can display output.

Required Methods

Begins a new named scope.

Ends the current scope.

Sends a response to the prompt.

Implementations on Foreign Types

Implementors