pub enum SecretAccessError {
InvalidPath,
InsecurePermissions,
Unavailable,
InvalidMaterial,
Expired,
Deprecated,
Revoked,
Conflict,
Io,
}Expand description
Typed file-keyring policy and persistence failures.
Variants§
InvalidPath
The root or key identifier is unsafe.
InsecurePermissions
Owner-only permission requirements are not met.
The requested key or active pointer is unavailable.
InvalidMaterial
Persisted material is malformed or partially written.
Expired
The requested key has expired.
Deprecated
The requested key is deprecated and cannot issue new credentials.
Revoked
The requested key was revoked.
Conflict
The operation conflicts with existing keyring state.
Io
An operating-system persistence operation failed.
Trait Implementations§
Source§impl Clone for SecretAccessError
impl Clone for SecretAccessError
Source§fn clone(&self) -> SecretAccessError
fn clone(&self) -> SecretAccessError
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 SecretAccessError
impl Debug for SecretAccessError
Source§impl Display for SecretAccessError
impl Display for SecretAccessError
impl Eq 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()
Source§impl PartialEq for SecretAccessError
impl PartialEq for SecretAccessError
impl StructuralPartialEq for SecretAccessError
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