Function std::result::map_opt

pub fn map_opt<T, U: ToStr, V>(o_t: &Option<T>, op: &fn(&T) -> Result<V, U>) -> Result<Option<V>, U>