pub enum SecureStoreError {
HomeUnavailable,
UnsafePath,
TooLarge,
LockContention {
path: PathBuf,
waited_ms: u64,
},
Io(Error),
}Expand description
Fail-closed storage errors with no file contents or secret values.
Variants§
Trait Implementations§
Source§impl Debug for SecureStoreError
impl Debug for SecureStoreError
Source§impl Display for SecureStoreError
impl Display for SecureStoreError
Source§impl Error for SecureStoreError
impl Error for SecureStoreError
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<SecureStoreError> for ManifestError
impl From<SecureStoreError> for ManifestError
Source§fn from(source: SecureStoreError) -> Self
fn from(source: SecureStoreError) -> Self
Converts to this type from the input type.
Source§impl From<SecureStoreError> for ProviderStoreError
impl From<SecureStoreError> for ProviderStoreError
Source§fn from(error: SecureStoreError) -> Self
fn from(error: SecureStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SecureStoreError
impl !UnwindSafe for SecureStoreError
impl Freeze for SecureStoreError
impl Send for SecureStoreError
impl Sync for SecureStoreError
impl Unpin for SecureStoreError
impl UnsafeUnpin for SecureStoreError
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