pub struct UnsupportedProvider;Expand description
A provider that refuses every reference with a clear “unsupported scheme”
error — the SchemeRouter’s fallback for an unknown scheme, and the
stand-in when no provider crate is wired in (e.g. a build without Azure).
Trait Implementations§
Source§impl SecretProvider for UnsupportedProvider
impl SecretProvider for UnsupportedProvider
Source§fn materialize(&self, reference: &str) -> Result<SecretValue, CoreError>
fn materialize(&self, reference: &str) -> Result<SecretValue, CoreError>
Fetch the value for a reference URI (e.g.
azure-kv://corp-kv/db-url).Source§fn scheme(&self) -> &'static str
fn scheme(&self) -> &'static str
The URI scheme this provider handles (
"azure-kv", "aws-sm", …),
without the ://. The SchemeRouter dispatches on it.Auto Trait Implementations§
impl Freeze for UnsupportedProvider
impl RefUnwindSafe for UnsupportedProvider
impl Send for UnsupportedProvider
impl Sync for UnsupportedProvider
impl Unpin for UnsupportedProvider
impl UnsafeUnpin for UnsupportedProvider
impl UnwindSafe for UnsupportedProvider
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