1 2 3 4 5 6 7 8 9
use Error; /// Indicates that structure can be initialize from environment variables. pub trait Envconfig { /// Initialize structure from environment variables. fn init() -> Result<Self, Error> where Self: Sized; }
1 2 3 4 5 6 7 8 9
use Error; /// Indicates that structure can be initialize from environment variables. pub trait Envconfig { /// Initialize structure from environment variables. fn init() -> Result<Self, Error> where Self: Sized; }