pub trait BytesRegexPattern {
type Error;
type Output;
// Required method
fn try_into_regex(self) -> Result<Self::Output, Self::Error>;
// Provided method
fn into_regex(self) -> Self::Output
where Self: Sized,
Self::Error: Debug { ... }
}