IdString

Trait IdString 

Source
pub trait IdString {
    type Error;

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

Required Associated Types§

Required Methods§

Source

fn to_string(&self) -> String

Source

fn from_string(s: String) -> Result<Self, Self::Error>
where Self: Sized,

Implementors§