pub trait Parameters:
Default
+ Send
+ 'static {
type Runtime<E: Send + 'static>: ParameterRuntime<E> + Send;
type Accessor<'a, E>
where E: 'a;
type Values: Copy;
// Required methods
fn create_runtime<E: Send>() -> Self::Runtime<E>;
fn create_accessor<E: Send>(
runtime: &Self::Runtime<E>,
) -> Self::Accessor<'_, E>;
}
Required Associated Types§
type Runtime<E: Send + 'static>: ParameterRuntime<E> + Send
type Accessor<'a, E> where E: 'a
type Values: Copy
Required Methods§
fn create_runtime<E: Send>() -> Self::Runtime<E>
fn create_accessor<E: Send>(runtime: &Self::Runtime<E>) -> Self::Accessor<'_, E>
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.