pub enum SecretsUpdateError {
UnknownSecret {
name: String,
},
MissingAllowedHosts {
name: String,
},
}Expand description
A live secrets update that could not be applied.
Errors carry secret identities only, never values.
Variants§
UnknownSecret
No secret with this name exists in the active configuration.
MissingAllowedHosts
An allowed-host update would leave the secret with no allowed hosts.
Trait Implementations§
Source§impl Clone for SecretsUpdateError
impl Clone for SecretsUpdateError
Source§fn clone(&self) -> SecretsUpdateError
fn clone(&self) -> SecretsUpdateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecretsUpdateError
impl Debug for SecretsUpdateError
Source§impl Display for SecretsUpdateError
impl Display for SecretsUpdateError
impl Eq for SecretsUpdateError
Source§impl Error for SecretsUpdateError
impl Error for SecretsUpdateError
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 PartialEq for SecretsUpdateError
impl PartialEq for SecretsUpdateError
Source§fn eq(&self, other: &SecretsUpdateError) -> bool
fn eq(&self, other: &SecretsUpdateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecretsUpdateError
Auto Trait Implementations§
impl Freeze for SecretsUpdateError
impl RefUnwindSafe for SecretsUpdateError
impl Send for SecretsUpdateError
impl Sync for SecretsUpdateError
impl Unpin for SecretsUpdateError
impl UnsafeUnpin for SecretsUpdateError
impl UnwindSafe for SecretsUpdateError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.