pub(super) type NextStateOrError<'a> = Result<Box<dyn State<ClientConnectionData> + 'a>, Error>;
enum NextStateOrError<'a> { Ok(Box<dyn State<ClientConnectionData> + 'a>), Err(Error), }
Contains the success value
Contains the error value