Skip to main content

RealizationService

Trait RealizationService 

Source
pub trait RealizationService:
    Any
    + Send
    + Sync {
    // Required method
    fn as_any(&self) -> &dyn Any;
}
Expand description

One type-erased auxiliary service available to realizers.

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Returns a downcast hook for typed access.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§