pub unsafe trait Backing {
const COUNTED: bool = false;
const SLOTS: Option<u32> = None;
const CAPACITY: Option<NonZero<u32>> = None;
// Provided method
unsafe fn release<S>(core: Ptr<Self, S>)
where Self: Sized { ... }
}Expand description
§Safety
Release the same backing once after all access ends; static dimensions match its Header/Slot geometry. COUNTED is true whenever a live Span can share its slot before consuming publication.
Provided Associated Constants§
const COUNTED: bool = false
const SLOTS: Option<u32> = None
const CAPACITY: Option<NonZero<u32>> = None
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".