pub enum CreateTrustError {
Client(String),
EntityAlreadyExists(String),
EntityDoesNotExist(String),
InvalidParameter(String),
Service(String),
UnsupportedOperation(String),
}
Expand description
Errors returned by CreateTrust
Variants§
Client(String)
A client exception has occurred.
EntityAlreadyExists(String)
The specified entity already exists.
EntityDoesNotExist(String)
The specified entity could not be found.
InvalidParameter(String)
One or more parameters are not valid.
Service(String)
An exception has occurred in AWS Directory Service.
UnsupportedOperation(String)
The operation is not supported.
Implementations§
Source§impl CreateTrustError
impl CreateTrustError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTrustError>
Trait Implementations§
Source§impl Debug for CreateTrustError
impl Debug for CreateTrustError
Source§impl Display for CreateTrustError
impl Display for CreateTrustError
Source§impl Error for CreateTrustError
impl Error for CreateTrustError
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 CreateTrustError
impl PartialEq for CreateTrustError
impl StructuralPartialEq for CreateTrustError
Auto Trait Implementations§
impl Freeze for CreateTrustError
impl RefUnwindSafe for CreateTrustError
impl Send for CreateTrustError
impl Sync for CreateTrustError
impl Unpin for CreateTrustError
impl UnwindSafe for CreateTrustError
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