1 2 3 4 5 6 7 8 9
use std::ptr; use crate::collections::fixed::pinned::recycle; /// # Safety /// The pool must stay live and thread-exclusive for every branded handle. pub unsafe trait PoolOwner<'owner, T: recycle::Recycle> { fn pool(self) -> ptr::NonNull<recycle::Pool<T>>; }