pub enum UpdateEnvironmentMembershipError {
BadRequest(String),
Conflict(String),
Forbidden(String),
InternalServerError(String),
LimitExceeded(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by UpdateEnvironmentMembership
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 UpdateEnvironmentMembershipError
impl Error for UpdateEnvironmentMembershipError
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 UpdateEnvironmentMembershipError
impl PartialEq for UpdateEnvironmentMembershipError
Source§fn eq(&self, other: &UpdateEnvironmentMembershipError) -> bool
fn eq(&self, other: &UpdateEnvironmentMembershipError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateEnvironmentMembershipError
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentMembershipError
impl RefUnwindSafe for UpdateEnvironmentMembershipError
impl Send for UpdateEnvironmentMembershipError
impl Sync for UpdateEnvironmentMembershipError
impl Unpin for UpdateEnvironmentMembershipError
impl UnwindSafe for UpdateEnvironmentMembershipError
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