usecrate::messages::Commands;/// Result of a single step of the loop
#[derive(Debug)]pubenumStepResult<'a> {/// A status was produced
Status(Status<'a>),/// Nothing was produced, try again
Nothing,}/// Status produced by the loop
#[derive(Debug)]pubenumStatus<'a> {/// A message was produced
Message(Commands<'a>),/// The user quit the loop
Quit,/// Loop run to completion
Eof,}