Enum CreateNetworkError Copy item path Source pub enum CreateNetworkError {
AccessDenied(String ),
InternalServiceError(String ),
InvalidRequest(String ),
ResourceAlreadyExists(String ),
ResourceLimitExceeded(String ),
Throttling(String ),
}
Expand description Errors returned by CreateNetwork
You do not have sufficient access to perform this action.
The request processing has failed because of an unknown error, exception or failure.
The action or operation requested is invalid. Verify that the action is typed correctly.
A resource request is issued for a resource that already exists.
The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.
Formats the value using the given formatter.
Read more Formats the value using the given formatter.
Read more Returns the lower-level source of this error, if any.
Read more 👎 Deprecated since 1.42.0: use the Display impl or to_string()
👎 Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬 This is a nightly-only experimental API. (error_generic_member_access
)
Provides type-based access to context intended for error reports.
Read more Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more Instruments this type with the
current Span
, returning an
Instrumented
wrapper.
Read more Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From <T> for U
chooses to do.
Converts the given value to a
String
.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.