class_docstr: A minimal implementation of a rusty Result monad.
  See https://doc.rust-lang.org/std/result/enum.Result.html for more information.
class_docstr_tok: ["A","minimal","implementation","of","a","rusty","Result","monad",".","See","https",":","\/\/doc.rust-lang.org\/std\/result\/enum.Result.html","for","more","information","."]
docstr: Maps a Result[T, E] to U by applying fallback function default to a contained
  Err value, or function op to a contained Ok value. This function can be used
  to unpack a successful result while handling an error.
code: def map_or_else(
      self, default_op: Callable[[], U], op: Callable[[T], U]
  ) -> U:
      """
      Maps a Result[T, E] to U by applying fallback function default to a contained
      Err value, or function op to a contained Ok value. This function can be used
      to unpack a successful result while handling an error.
      """
  
      pass
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod, abstractproperty
  from typing import Any, Callable, cast, Generic, NoReturn, Optional, TypeVar, Union
label_desc: Use image node_id 9 for calling the Result obj's underlying member method code with example usage: obj.map_or_else(default_op, op) without return types