pub trait BackendEntry:
Copy
+ Debug
+ Send
+ Sync
+ 'static {
const KIND: &'static str;
// Required methods
fn name(&self) -> &'static str;
fn priority(&self) -> i32;
}Expand description
What a registry entry tells the registry about the backend it names.
Entries are small Copy values (a name, a rank, a constructor function
pointer), so a launch takes them out of the registry and builds the
backend without holding the world.
Required Associated Constants§
Required Methods§
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.