pub enum SecretClientError {
ConvertServerXkey(String),
ParseServerXkey(Error),
RequestServerXkey(RequestError),
InvalidXkey(Error),
SealSecretRequest(Error),
SendSecretRequest(RequestError),
SerializeSecretRequest(Error),
ParseServerResponseXkey(Error),
OpenSecretResponse(Error),
DeserializeSecretResponse(Error),
Server(String),
MissingSecret(String),
}
Expand description
Errors that can be returned during creation/use of a Client
Variants§
ConvertServerXkey(String)
ParseServerXkey(Error)
RequestServerXkey(RequestError)
InvalidXkey(Error)
SealSecretRequest(Error)
SendSecretRequest(RequestError)
SerializeSecretRequest(Error)
ParseServerResponseXkey(Error)
OpenSecretResponse(Error)
DeserializeSecretResponse(Error)
Server(String)
MissingSecret(String)
Trait Implementations§
source§impl Debug for SecretClientError
impl Debug for SecretClientError
source§impl Display for SecretClientError
impl Display for SecretClientError
source§impl Error for SecretClientError
impl Error for SecretClientError
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 SecretClientError
impl !RefUnwindSafe for SecretClientError
impl Send for SecretClientError
impl Sync for SecretClientError
impl Unpin for SecretClientError
impl !UnwindSafe for SecretClientError
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