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§
Required Methods§
Sourcefn with_defaults() -> Result<O, Self::Error>
fn with_defaults() -> Result<O, Self::Error>
.Instantiate Orbit with defaults
Sourcefn with_configuration(_: Self::Config) -> Result<O, Self::Error>
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.