pub enum DisassociateDelegateFromResourceError {
EntityNotFound(String),
EntityState(String),
InvalidParameter(String),
OrganizationNotFound(String),
OrganizationState(String),
}Expand description
Errors returned by DisassociateDelegateFromResource
Variants§
EntityNotFound(String)
The identifier supplied for the user, group, or resource does not exist in your organization.
EntityState(String)
You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
InvalidParameter(String)
One or more of the input parameters don't match the service's restrictions.
OrganizationNotFound(String)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationState(String)
The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its members.
Implementations§
Trait Implementations§
Source§impl Error for DisassociateDelegateFromResourceError
impl Error for DisassociateDelegateFromResourceError
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 DisassociateDelegateFromResourceError
impl PartialEq for DisassociateDelegateFromResourceError
Source§fn eq(&self, other: &DisassociateDelegateFromResourceError) -> bool
fn eq(&self, other: &DisassociateDelegateFromResourceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DisassociateDelegateFromResourceError
Auto Trait Implementations§
impl Freeze for DisassociateDelegateFromResourceError
impl RefUnwindSafe for DisassociateDelegateFromResourceError
impl Send for DisassociateDelegateFromResourceError
impl Sync for DisassociateDelegateFromResourceError
impl Unpin for DisassociateDelegateFromResourceError
impl UnwindSafe for DisassociateDelegateFromResourceError
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