Closed
Bug 1661084
Opened 4 years ago
Closed 4 years ago
Add CollectWhile algorithm for mozilla::Result
Categories
(Core :: Storage: Quota Manager, task)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
Details
Attachments
(1 file)
For a special case of Rust's collect
function, a CollectWhile
function template would be useful to use where a mozilla::Result<Ok, E>
is expected as an overall result, where the individual steps can also fail with a mozilla::Result<Ok, E>
error value.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D88168
Assignee | ||
Comment 2•4 years ago
|
||
We decided to add this in dom/quota/QuotaCommon.h
for now rather than in mfbt/Result.h
.
Component: MFBT → Storage: Quota Manager
Updated•4 years ago
|
Attachment #9171963 -
Attachment description: Bug 1661084 - Add CollectWhile algorithm for Result. r=froydnj,janv → Bug 1661084 - Add CollectWhile/CollectEach algorithms for Result. r=froydnj,janv
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0162bb5012e Add CollectWhile/CollectEach algorithms for Result. r=janv
Comment 4•4 years ago
|
||
Backed out for build bustages.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1661085#c11
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8915920c6585 Add CollectWhile/CollectEach algorithms for Result. r=janv
Comment 6•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•