pub struct ServiceRegistryHandle {
pub registry: Arc<ServiceRegistry>,
}Expand description
Thin handle stored in PluginContext.user_data so FFI functions can access the shared registry instance.
Fields§
§registry: Arc<ServiceRegistry>Implementations§
Source§impl ServiceRegistryHandle
impl ServiceRegistryHandle
pub fn new(registry: Arc<ServiceRegistry>) -> Self
Auto Trait Implementations§
impl Freeze for ServiceRegistryHandle
impl RefUnwindSafe for ServiceRegistryHandle
impl Send for ServiceRegistryHandle
impl Sync for ServiceRegistryHandle
impl Unpin for ServiceRegistryHandle
impl UnsafeUnpin for ServiceRegistryHandle
impl UnwindSafe for ServiceRegistryHandle
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