pub trait IdString {
type Error;
// Required methods
fn to_string(&self) -> String;
fn from_string(s: String) -> Result<Self, Self::Error>
where Self: Sized;
}pub trait IdString {
type Error;
// Required methods
fn to_string(&self) -> String;
fn from_string(s: String) -> Result<Self, Self::Error>
where Self: Sized;
}