pub enum CreatePublicKeyError {
InvalidArgument(String),
PublicKeyAlreadyExists(String),
TooManyPublicKeys(String),
}
Expand description
Errors returned by CreatePublicKey
Variants§
InvalidArgument(String)
An argument is invalid.
PublicKeyAlreadyExists(String)
The specified public key already exists.
TooManyPublicKeys(String)
The maximum number of public keys for field-level encryption have been created. To create a new public key, delete one of the existing keys.
Implementations§
Source§impl CreatePublicKeyError
impl CreatePublicKeyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreatePublicKeyError>
Trait Implementations§
Source§impl Debug for CreatePublicKeyError
impl Debug for CreatePublicKeyError
Source§impl Display for CreatePublicKeyError
impl Display for CreatePublicKeyError
Source§impl Error for CreatePublicKeyError
impl Error for CreatePublicKeyError
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 CreatePublicKeyError
impl PartialEq for CreatePublicKeyError
impl StructuralPartialEq for CreatePublicKeyError
Auto Trait Implementations§
impl Freeze for CreatePublicKeyError
impl RefUnwindSafe for CreatePublicKeyError
impl Send for CreatePublicKeyError
impl Sync for CreatePublicKeyError
impl Unpin for CreatePublicKeyError
impl UnwindSafe for CreatePublicKeyError
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