result_from_value

Function result_from_value 

Source
pub fn result_from_value<T>(value: T) -> Result<T>
where T: Copy, Error: TryFrom<T>,