pub enum ProviderDegraded {
Refused(AxError),
VaultFellBack(VaultFellBack),
}Expand description
provider_degraded has two writers with two shapes.
The carrier table in kernel::error sends E_PROVIDER here, written
as the error itself; the vault’s startup probe writes its fallback to
session memory. A reader tells them apart by reading, not by guessing
from a key, and a line that is neither does not read.
Variants§
Refused(AxError)
A provider refused a call; this is the refusal, flat.
VaultFellBack(VaultFellBack)
The platform credential service failed its startup round trip.
Trait Implementations§
Source§impl Clone for ProviderDegraded
impl Clone for ProviderDegraded
Source§impl Debug for ProviderDegraded
impl Debug for ProviderDegraded
Source§impl<'de> Deserialize<'de> for ProviderDegraded
Tries the refusal, then the fallback, and when neither reads names
what each shape missed: a derived untagged enum reports only that no
variant matched, which leaves the reader of an unreadable line without
the field to look at.
impl<'de> Deserialize<'de> for ProviderDegraded
Tries the refusal, then the fallback, and when neither reads names what each shape missed: a derived untagged enum reports only that no variant matched, which leaves the reader of an unreadable line without the field to look at.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderDegraded
Source§impl PartialEq for ProviderDegraded
impl PartialEq for ProviderDegraded
Source§impl Serialize for ProviderDegraded
impl Serialize for ProviderDegraded
impl StructuralPartialEq for ProviderDegraded
Auto Trait Implementations§
impl Freeze for ProviderDegraded
impl RefUnwindSafe for ProviderDegraded
impl Send for ProviderDegraded
impl Sync for ProviderDegraded
impl Unpin for ProviderDegraded
impl UnsafeUnpin for ProviderDegraded
impl UnwindSafe for ProviderDegraded
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