pub trait GlobalListHandler: Sized {
// Provided methods
fn runtime_add_global(
&mut self,
_globals: &GlobalList,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_global: &Global,
) { ... }
fn runtime_remove_global(
&mut self,
_globals: &GlobalList,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_global: &Global,
) { ... }
}Expand description
Handler for runtime global addition/removal in GlobalList created with
registry_queue_init
Provided Methods§
Sourcefn runtime_add_global(
&mut self,
_globals: &GlobalList,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_global: &Global,
)
fn runtime_add_global( &mut self, _globals: &GlobalList, _conn: &Connection, _qh: &QueueHandle<Self>, _global: &Global, )
A global has been added dynamically after creation of the GlobalList
By default, does nothing.
Sourcefn runtime_remove_global(
&mut self,
_globals: &GlobalList,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_global: &Global,
)
fn runtime_remove_global( &mut self, _globals: &GlobalList, _conn: &Connection, _qh: &QueueHandle<Self>, _global: &Global, )
A global has been removed
By default, does nothing.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.