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§

source

const TYPE: &'static str

The name of the registration type, for error messages.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§