fromOkToOptionConvert to Some(T) if input is Ok(T). Otherwise, return None. function fromOkToOption<T, E>(input: Result<T, E>): Option<T>;§fromOkToOption<T, E>(input: Result<T, E>): Option<T>[src]§Type Parameters§T[src]§E[src]§Parameters§input: Result<T, E>[src]§Return Type§Option<T>[src]