generated from Tamschi/rust-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
HacktoberfestA good-for-Hacktoberfest issue. This label is only maintained in October.A good-for-Hacktoberfest issue. This label is only maintained in October.domain: RustInvolves Rust code.Involves Rust code.good first issueGood for newcomersGood for newcomerspriority: somedayIf you need this, please let me know!If you need this, please let me know!state: approvedApproved to proceed.Approved to proceed.type: featureBrand new functionality, features, pages, workflows, endpoints, etc.Brand new functionality, features, pages, workflows, endpoints, etc.work: clearA known solution is (to be) implemented.A known solution is (to be) implemented.
Description
Is your feature request related to a problem? Please describe.
The current implementation is generic enough to support !Sync
reference-counting for all consumers, too.
Describe the solution you'd like
Adapt sync::Arc
into an rc::Rc
struct.
The API should be extremely similar, but decrements and acquires should be relaxed.
Describe alternatives you've considered
None.
Additional context
There are opportunities for fallible (TryFrom
) conversions between these types and Box
.
Remember to .acquire()
when moving away from either Arc
or Rc
!
Metadata
Metadata
Assignees
Labels
HacktoberfestA good-for-Hacktoberfest issue. This label is only maintained in October.A good-for-Hacktoberfest issue. This label is only maintained in October.domain: RustInvolves Rust code.Involves Rust code.good first issueGood for newcomersGood for newcomerspriority: somedayIf you need this, please let me know!If you need this, please let me know!state: approvedApproved to proceed.Approved to proceed.type: featureBrand new functionality, features, pages, workflows, endpoints, etc.Brand new functionality, features, pages, workflows, endpoints, etc.work: clearA known solution is (to be) implemented.A known solution is (to be) implemented.