Skip to main content

Crate fuchsia_rcu_traits

Crate fuchsia_rcu_traits 

Source
Expand description

Foundational trait definitions for RCU-safe reclamation.

This crate defines the RcuDroppable marker trait and the #[derive(RcuDroppable)] proc-macro re-export.

It is separate from fuchsia-rcu so that foundational crates can implement RcuDroppable for their types without depending on the RCU runtime.

Traits§

RcuDroppable
Marker trait for types that are safe to be dropped on the RCU worker / drop execution path.

Derive Macros§

RcuDroppable
Proc macro to allow safe implementation of RcuDroppable if all of a types fields are RcuDroppable.