Struct salak::SalakBuilder [−][src]
pub struct SalakBuilder { /* fields omitted */ }
Expand description
A builder which can configure for how to build a salak env.
Implementations
This is supported on crate features toml
or yaml
only.
This is supported on crate features
toml
or yaml
only.Configure file source.
This is supported on crate feature rand
only.
This is supported on crate feature
rand
only.Configure random source.
This is supported on crate feature args
only.
This is supported on crate feature
args
only.Configure predefined arguments.
Build salak.
pub fn register_default_resource<R: Resource + Send + Sync + Any>(
self
) -> Result<Self, PropertyError>
This is supported on crate feature app
only.
pub fn register_default_resource<R: Resource + Send + Sync + Any>(
self
) -> Result<Self, PropertyError>
This is supported on crate feature
app
only.Register Resource
with default builder.
pub fn register_resource<R: Resource + Send + Sync + Any>(
self,
builder: ResourceBuilder<R>
) -> Result<Self, PropertyError>
This is supported on crate feature app
only.
pub fn register_resource<R: Resource + Send + Sync + Any>(
self,
builder: ResourceBuilder<R>
) -> Result<Self, PropertyError>
This is supported on crate feature
app
only.Register Resource
by ResourceBuilder
.
This is supported on crate feature derive
only.
This is supported on crate feature
derive
only.Configure description parsing.
pub fn configure_description_by_namespace<T: PrefixedFromEnvironment + DescFromEnvironment>(
self,
namespace: &'static str
) -> Self
This is supported on crate feature derive
only.
pub fn configure_description_by_namespace<T: PrefixedFromEnvironment + DescFromEnvironment>(
self,
namespace: &'static str
) -> Self
This is supported on crate feature
derive
only.Configure description parsing.