Seems like an interesting effort. A developer is building an alternative Java-based backend to Lemmy’s Rust-based one, with the goal of building in a handful of different features. The dev is looking at using this compatibility to migrate their instance over to the new platform, while allowing the community to use their apps of choice.

  • uranibaba@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Ah, so it is like a wrapper enum, ok contains the data type you want and err the error object?

    • kattenluik@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Exactly! The other wrapper enum I named (Option) is the same kind of concept but with Some(value) and None.