Page MenuHomeDevCentral

Introduce Option class with Some and None types
ClosedPublic

Authored by dereckson on Sun, Oct 12, 13:44.

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