pub enum CredentialDeliveryError {
BindingDenied {
reasons: Vec<String>,
},
ProviderMismatch {
credential_provider: String,
profile_provider: String,
},
MaterialNotFound {
material_ref_hash: String,
},
MaterialRefMismatch {
expected_hash: String,
actual_hash: String,
},
MissingRole {
role: String,
},
EmptyMaterial {
role: String,
},
InvalidEnvName {
name: String,
},
UnsupportedDeliveryMode {
mode: String,
},
ProcessEnvBoundaryUnsupported {
boundary: String,
},
HostedCredentialHandlesInvalid {
reason: String,
},
HostedCredentialHandlesMixed,
HostedCredentialRefType {
reference_type: String,
},
}Variants§
BindingDenied
ProviderMismatch
MaterialNotFound
MaterialRefMismatch
MissingRole
EmptyMaterial
InvalidEnvName
UnsupportedDeliveryMode
ProcessEnvBoundaryUnsupported
HostedCredentialHandlesInvalid
HostedCredentialHandlesMixed
HostedCredentialRefType
Trait Implementations§
Source§impl Debug for CredentialDeliveryError
impl Debug for CredentialDeliveryError
Source§impl Display for CredentialDeliveryError
impl Display for CredentialDeliveryError
Source§impl Error for CredentialDeliveryError
impl Error for CredentialDeliveryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CredentialDeliveryError> for RuntimeError
impl From<CredentialDeliveryError> for RuntimeError
Source§fn from(source: CredentialDeliveryError) -> Self
fn from(source: CredentialDeliveryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CredentialDeliveryError
impl RefUnwindSafe for CredentialDeliveryError
impl Send for CredentialDeliveryError
impl Sync for CredentialDeliveryError
impl Unpin for CredentialDeliveryError
impl UnsafeUnpin for CredentialDeliveryError
impl UnwindSafe for CredentialDeliveryError
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