Skip to main content

ConfigBuilderInit

Trait ConfigBuilderInit 

Source
pub trait ConfigBuilderInit: Sized {
    // Required methods
    fn new() -> Self;
    fn with_read_timeout(self, timeout: Duration) -> Self;
}
Expand description

Initialisation and timeout-override methods for concrete config builders.

Implemented by the real builder type in configbuilder-svc-saf.

Required Methods§

Source

fn new() -> Self

Create an empty builder with no name, version, or config dirs set.

Source

fn with_read_timeout(self, timeout: Duration) -> Self

Override the default 30-second read deadline for each config file.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§