Trait aerosol::Factory

source ·
pub trait Factory {
    type Object;

    fn build() -> Result<Self::Object, Error>;
}
Expand description

Implement this trait to provide a convenient syntax for constructing implementations of dependencies.

Required Associated Types

Required Methods

Implementors