pub enum CreateComponentError {
InternalServer(String),
ResourceInUse(String),
ResourceNotFound(String),
}Expand description
Errors returned by CreateComponent
Variants§
InternalServer(String)
The server encountered an internal error and is unable to complete the request.
ResourceInUse(String)
The resource is already created or in use.
ResourceNotFound(String)
The resource does not exist in the customer account.
Implementations§
Source§impl CreateComponentError
impl CreateComponentError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateComponentError>
Trait Implementations§
Source§impl Debug for CreateComponentError
impl Debug for CreateComponentError
Source§impl Display for CreateComponentError
impl Display for CreateComponentError
Source§impl Error for CreateComponentError
impl Error for CreateComponentError
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 CreateComponentError
impl PartialEq for CreateComponentError
impl StructuralPartialEq for CreateComponentError
Auto Trait Implementations§
impl Freeze for CreateComponentError
impl RefUnwindSafe for CreateComponentError
impl Send for CreateComponentError
impl Sync for CreateComponentError
impl Unpin for CreateComponentError
impl UnwindSafe for CreateComponentError
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