use std::str::FromStr;
pub trait Format {
fn escape(&self) -> Self;
fn unescape(&self) -> Self;
}
pub trait Convert {
fn parse_from<T>(from: T) -> anyhow::Result<Self>
where
Self: Sized,
T: ToString;
fn parse_into<T>(&self) -> anyhow::Result<T>
where
T: FromStr,
<T as FromStr>::Err: std::error::Error + Send + Sync + 'static;
}