pub trait RegistrationDeclCommon:
SourceName
+ Send
+ Sync {
const TYPE: &'static str;
// Required method
fn source(&self) -> &RegistrationSource;
}
Expand description
The common properties of a Registration-with-environment declaration.
Required Associated Constants§
Required Methods§
fn source(&self) -> &RegistrationSource
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.