1 2 3 4 5 6
pub trait Create: Sized { type Source; type Error; fn create(source: &Self::Source) -> Result<Self, Self::Error>; }