cm_rust

Trait RegistrationDeclCommon

Source
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§

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.

Implementors§