Avatar
omochimetaru 8/3/2018 7:59 AM
pub trait TryFrom<T>: Sized { /// The type returned in the event of a conversion error. type Error; /// Performs the conversion. fn try_from(value: T) -> Result<Self, Self::Error>; }
7:59 AM
こっちがFromとの対比でわかりやすいな