Trait TryFrom
body_image
pub trait TryFrom<T>: Sized { type Err: 'static; fn try_from(t: T) -> Result<Self, Self::Err>; }
Similar to the TryFrom trait proposed but not yet available in std.
TryFrom
std
type Err: 'static
fn try_from(t: T) -> Result<Self, Self::Err>
impl TryFrom<Dialog> for Record type Err = BarcError;
impl TryFrom<Record> for Dialog type Err = DialogConvertError;