Page MenuHomeDevCentral

Introduce Option class with Some and None types
ClosedPublic

Authored by dereckson on Oct 12 2025, 13:44.
Tags
None
Referenced Files
F33790265: D3741.id9676.diff
Sun, Jun 21, 10:19
Unknown Object (File)
Thu, Jun 18, 08:12
Unknown Object (File)
Tue, Jun 16, 06:33
Unknown Object (File)
Mon, Jun 15, 23:15
Unknown Object (File)
Mon, Jun 15, 16:26
Unknown Object (File)
Mon, Jun 15, 16:02
Unknown Object (File)
Sat, Jun 13, 22:10
Unknown Object (File)
Wed, Jun 10, 11:36
Subscribers
None

Details

Summary

This change adds an Option class, inspired by Rust generic type Option,
using the same pattern as the Result class in 8b2b9129c24.

First use case is to introduce optional string setting in saas-mediawiki.

Ref T2140

Test Plan

New unit tests to cover fully the Some and None classes.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Skipped
Unit
Tests Passed
Branch
rust-option
Build Status
Buildable 5996
Build 6278: arc lint + arc unit