Transforms the inner Ok instance if this is an Ok.
Result<T> mapOk(@noFuturesAllowed Ok<T> Function(Ok<T> ok) noFuturesAllowed);