pub enum SecretStoreError {
FailedToGetConfigFilePath(GetCLICfgFilePathError),
KeyStoreUnavailable {
reason: String,
},
InvalidKeyStoreFormat {
reason: String,
},
Serialization {
reason: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for SecretStoreError
impl Debug for SecretStoreError
Source§impl Display for SecretStoreError
impl Display for SecretStoreError
Source§impl Error for SecretStoreError
impl Error for SecretStoreError
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<DecodePasswordError> for SecretStoreError
impl From<DecodePasswordError> for SecretStoreError
Source§fn from(error: DecodePasswordError) -> Self
fn from(error: DecodePasswordError) -> Self
Converts to this type from the input type.
Source§impl From<GetCLICfgFilePathError> for SecretStoreError
impl From<GetCLICfgFilePathError> for SecretStoreError
Source§fn from(source: GetCLICfgFilePathError) -> Self
fn from(source: GetCLICfgFilePathError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecretStoreError
impl RefUnwindSafe for SecretStoreError
impl Send for SecretStoreError
impl Sync for SecretStoreError
impl Unpin for SecretStoreError
impl UnwindSafe for SecretStoreError
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