/// Closes and drops an existing input.
Closes and drops an existing input.
Closes and drops an existing input .
pub fn close_input(&mut self, name: A) -> Result<(), Error> {
        match self.input_sessions.remove(&name) {
            None => Err(Error::not_found(format!("Input {} does not exist.", name))),
            Some(handle) => {
                handle.close();
                Ok(())
            }
        }
    }
pub fn close_input ( & mut self , name : A ) -> Result < ( ) , Error > { match self . input_sessions . remove ( & name ) { None => Err ( Error :: not_found ( format ! ( " " name ) ) ) , Some ( handle ) => { handle . close ( ) ; Ok ( ( ) ) } } }
Closes and drops an existing input.
Closes and drops an existing input .
&mut self
name
A