pub enum DescribeCertificateAuthorityError {
InvalidArn(String),
ResourceNotFound(String),
}
Expand description
Errors returned by DescribeCertificateAuthority
Variants§
InvalidArn(String)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
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 DescribeCertificateAuthorityError
impl Error for DescribeCertificateAuthorityError
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 DescribeCertificateAuthorityError
impl PartialEq for DescribeCertificateAuthorityError
Source§fn eq(&self, other: &DescribeCertificateAuthorityError) -> bool
fn eq(&self, other: &DescribeCertificateAuthorityError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeCertificateAuthorityError
Auto Trait Implementations§
impl Freeze for DescribeCertificateAuthorityError
impl RefUnwindSafe for DescribeCertificateAuthorityError
impl Send for DescribeCertificateAuthorityError
impl Sync for DescribeCertificateAuthorityError
impl Unpin for DescribeCertificateAuthorityError
impl UnwindSafe for DescribeCertificateAuthorityError
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