pub enum RestoreCertificateAuthorityError {
InvalidArn(String),
InvalidState(String),
ResourceNotFound(String),
}
Expand description
Errors returned by RestoreCertificateAuthority
Variants§
InvalidArn(String)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidState(String)
The private CA is in a state during which a report or certificate cannot be generated.
ResourceNotFound(String)
A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.
Implementations§
Trait Implementations§
Source§impl Error for RestoreCertificateAuthorityError
impl Error for RestoreCertificateAuthorityError
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 RestoreCertificateAuthorityError
impl PartialEq for RestoreCertificateAuthorityError
Source§fn eq(&self, other: &RestoreCertificateAuthorityError) -> bool
fn eq(&self, other: &RestoreCertificateAuthorityError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RestoreCertificateAuthorityError
Auto Trait Implementations§
impl Freeze for RestoreCertificateAuthorityError
impl RefUnwindSafe for RestoreCertificateAuthorityError
impl Send for RestoreCertificateAuthorityError
impl Sync for RestoreCertificateAuthorityError
impl Unpin for RestoreCertificateAuthorityError
impl UnwindSafe for RestoreCertificateAuthorityError
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