#[non_exhaustive]pub enum SecretUploadError {
Request(RequestError),
Rejected {
message: String,
},
}Expand description
An error uploading a secret.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Request(RequestError)
The authenticated exchange failed.
Rejected
The device rejected the upload instead of storing it for user review.
Trait Implementations§
Source§impl Debug for SecretUploadError
impl Debug for SecretUploadError
Source§impl Display for SecretUploadError
impl Display for SecretUploadError
Source§impl Error for SecretUploadError
impl Error for SecretUploadError
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<ConfigurationError> for SecretUploadError
impl From<ConfigurationError> for SecretUploadError
Source§fn from(error: ConfigurationError) -> Self
fn from(error: ConfigurationError) -> Self
Converts to this type from the input type.
Source§impl From<RequestError> for SecretUploadError
impl From<RequestError> for SecretUploadError
Source§fn from(source: RequestError) -> Self
fn from(source: RequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SecretUploadError
impl !UnwindSafe for SecretUploadError
impl Freeze for SecretUploadError
impl Send for SecretUploadError
impl Sync for SecretUploadError
impl Unpin for SecretUploadError
impl UnsafeUnpin for SecretUploadError
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