pub enum CreateEnvironmentMembershipError {
BadRequest(String),
Conflict(String),
Forbidden(String),
InternalServerError(String),
LimitExceeded(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by CreateEnvironmentMembership
Variants§
BadRequest(String)
The target request is invalid.
Conflict(String)
A conflict occurred.
Forbidden(String)
An access permissions issue occurred.
InternalServerError(String)
An internal server error occurred.
LimitExceeded(String)
A service limit was exceeded.
NotFound(String)
The target resource cannot be found.
TooManyRequests(String)
Too many service requests were made over the given time period.
Implementations§
Trait Implementations§
Source§impl Error for CreateEnvironmentMembershipError
impl Error for CreateEnvironmentMembershipError
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 CreateEnvironmentMembershipError
impl PartialEq for CreateEnvironmentMembershipError
Source§fn eq(&self, other: &CreateEnvironmentMembershipError) -> bool
fn eq(&self, other: &CreateEnvironmentMembershipError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEnvironmentMembershipError
Auto Trait Implementations§
impl Freeze for CreateEnvironmentMembershipError
impl RefUnwindSafe for CreateEnvironmentMembershipError
impl Send for CreateEnvironmentMembershipError
impl Sync for CreateEnvironmentMembershipError
impl Unpin for CreateEnvironmentMembershipError
impl UnwindSafe for CreateEnvironmentMembershipError
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