pub trait ServiceActivator:
Send
+ Sync
+ Debug {
// Required methods
fn id(&self) -> &str;
fn from(&self) -> &str;
fn to(&self) -> &str;
fn ref_name(&self) -> &str;
}Expand description
Internal metadata describing how a service is wired. Users do NOT implement this directly; it is derived from specs.
Required Methods§
fn id(&self) -> &str
fn from(&self) -> &str
fn to(&self) -> &str
fn ref_name(&self) -> &str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".