pub struct Builder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn add_source<S, E>(self, source: S) -> Self
pub fn add_source<S, E>(self, source: S) -> Self
Adds a new Source
such that the sources provided keys are available
from the root.
Note: The order that sources are added, are the order that they are checked for values, so you want to add your source with the highest priority first.
Sourcepub fn add_source_at_prefix<S, E, K>(self, source: S, prefix: K) -> Self
pub fn add_source_at_prefix<S, E, K>(self, source: S, prefix: K) -> Self
Adds a new Source
such that the sources provided keys are available
from the supplied prefix
.
Note: The order that sources are added, are the order that they are checked for values, so you want to add your source with the highest priority first.
Auto Trait Implementations§
impl Freeze for Builder
impl !RefUnwindSafe for Builder
impl !Send for Builder
impl !Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more