pub struct Chain(pub Vec<Arc<dyn ConfigSource>>);Expand description
Several sources end to end, each outranking the one before it.
The shape a remote deployment wants: Chain(vec![files, from_control_plane])
keeps whatever is on the machine and lets the fleet-wide answer win.
Tuple Fields§
§0: Vec<Arc<dyn ConfigSource>>Trait Implementations§
Source§impl ConfigSource for Chain
impl ConfigSource for Chain
Source§fn layers(&self) -> Vec<ConfigLayer>
fn layers(&self) -> Vec<ConfigLayer>
Every layer this source has, lowest priority first.
Auto Trait Implementations§
impl !RefUnwindSafe for Chain
impl !UnwindSafe for Chain
impl Forget for Chain
impl Freeze for Chain
impl Move for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chain
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