BluePrint

Trait BluePrint 

Source
pub trait BluePrint<O: Orbit> {
    type Config;
    type Error;

    // Required methods
    fn with_defaults() -> Result<O, Self::Error>;
    fn with_configuration(_: Self::Config) -> Result<O, Self::Error>;
}
Expand description

Constructor for Blueprint instantiating Orbit.

Required Associated Types§

Source

type Config

.Configuration passed to the instantiated Orbit

Source

type Error

.Error used by Orbit

Required Methods§

Source

fn with_defaults() -> Result<O, Self::Error>

.Instantiate Orbit with defaults

Source

fn with_configuration(_: Self::Config) -> Result<O, Self::Error>

.Instantiate Orbit with the given configuration

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§