usestd::fmt;/// Definition of the error messages of the branching parsers.
pubenumBranchError{/// The parser was unable to match any of the alternative branches.
NoMatch,}implfmt::Display forBranchError{fnfmt(&self, f:&mutfmt::Formatter<'_>)->fmt::Result{matchself{BranchError::NoMatch =>write!(f,"unable to match an alternative branch"),}}}