pub struct Extensions { /* private fields */ }Expand description
Generic extension storage for AimDbBuilder and
AimDb.
Keyed by TypeId so each stored type occupies exactly one slot.
Values must be Send + Sync + 'static to be safe across thread and task
boundaries used throughout AimDB’s async executor model.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extensions
impl !RefUnwindSafe for Extensions
impl Send for Extensions
impl Sync for Extensions
impl Unpin for Extensions
impl UnsafeUnpin for Extensions
impl !UnwindSafe for Extensions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more