Enum rusoto_cloudtrail::GetTrailStatusError [−][src]
pub enum GetTrailStatusError { InvalidTrailName(String), TrailNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetTrailStatus
Variants
InvalidTrailName(String)
This exception is thrown when the provided trail name is not valid. Trail names must meet the following requirements:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (), or dashes (-)
-
Start with a letter or number, and end with a letter or number
-
Be between 3 and 128 characters
-
Have no adjacent periods, underscores or dashes. Names like
my-namespace
andmy--namespace
are invalid. -
Not be in IP address format (for example, 192.168.5.4)
TrailNotFound(String)
This exception is thrown when the trail with the given name is not found.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl GetTrailStatusError
[src]
impl GetTrailStatusError
pub fn from_body(body: &str) -> GetTrailStatusError
[src]
pub fn from_body(body: &str) -> GetTrailStatusError
Trait Implementations
impl Debug for GetTrailStatusError
[src]
impl Debug for GetTrailStatusError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetTrailStatusError
[src]
impl PartialEq for GetTrailStatusError
fn eq(&self, other: &GetTrailStatusError) -> bool
[src]
fn eq(&self, other: &GetTrailStatusError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetTrailStatusError) -> bool
[src]
fn ne(&self, other: &GetTrailStatusError) -> bool
This method tests for !=
.
impl From<Error> for GetTrailStatusError
[src]
impl From<Error> for GetTrailStatusError
fn from(err: Error) -> GetTrailStatusError
[src]
fn from(err: Error) -> GetTrailStatusError
Performs the conversion.
impl From<CredentialsError> for GetTrailStatusError
[src]
impl From<CredentialsError> for GetTrailStatusError
fn from(err: CredentialsError) -> GetTrailStatusError
[src]
fn from(err: CredentialsError) -> GetTrailStatusError
Performs the conversion.
impl From<HttpDispatchError> for GetTrailStatusError
[src]
impl From<HttpDispatchError> for GetTrailStatusError
fn from(err: HttpDispatchError) -> GetTrailStatusError
[src]
fn from(err: HttpDispatchError) -> GetTrailStatusError
Performs the conversion.
impl From<Error> for GetTrailStatusError
[src]
impl From<Error> for GetTrailStatusError
fn from(err: Error) -> GetTrailStatusError
[src]
fn from(err: Error) -> GetTrailStatusError
Performs the conversion.
impl Display for GetTrailStatusError
[src]
impl Display for GetTrailStatusError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetTrailStatusError
[src]
impl Error for GetTrailStatusError
Auto Trait Implementations
impl Send for GetTrailStatusError
impl Send for GetTrailStatusError
impl Sync for GetTrailStatusError
impl Sync for GetTrailStatusError