pub(crate) fn remember_extension( extension: &Extension<'_>, handler: impl FnMut(u8) -> Result<(), Error>, ) -> Result<(), Error>