pub enum SecretAccessError {
AccessDenied(String),
ServiceNotAuthenticated,
ServiceNotAuthorized {
secret_id: String,
},
SecretNotFound(String),
InvalidServiceIdentity,
AccessGrantExpired(DateTime<Utc>),
AccessRequestPending,
AccessRequestDenied,
InvalidAccessPolicy,
Storage(String),
}Expand description
Errors that can occur in secret access control
Variants§
AccessDenied(String)
ServiceNotAuthenticated
ServiceNotAuthorized
SecretNotFound(String)
InvalidServiceIdentity
AccessGrantExpired(DateTime<Utc>)
AccessRequestPending
AccessRequestDenied
InvalidAccessPolicy
Storage(String)
Trait Implementations§
Source§impl Debug for SecretAccessError
impl Debug for SecretAccessError
Source§impl Display for SecretAccessError
impl Display for SecretAccessError
Source§impl Error for SecretAccessError
impl Error for SecretAccessError
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()
Auto Trait Implementations§
impl Freeze for SecretAccessError
impl RefUnwindSafe for SecretAccessError
impl Send for SecretAccessError
impl Sync for SecretAccessError
impl Unpin for SecretAccessError
impl UnsafeUnpin for SecretAccessError
impl UnwindSafe for SecretAccessError
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