pub enum CreateTopicRuleError {
ConflictingResourceUpdate(String),
Internal(String),
InvalidRequest(String),
ResourceAlreadyExists(String),
ServiceUnavailable(String),
SqlParse(String),
}Expand description
Errors returned by CreateTopicRule
Variants§
ConflictingResourceUpdate(String)
A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
Internal(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceAlreadyExists(String)
The resource already exists.
The service is temporarily unavailable.
SqlParse(String)
The Rule-SQL expression can't be parsed correctly.
Implementations§
Source§impl CreateTopicRuleError
impl CreateTopicRuleError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateTopicRuleError>
Trait Implementations§
Source§impl Debug for CreateTopicRuleError
impl Debug for CreateTopicRuleError
Source§impl Display for CreateTopicRuleError
impl Display for CreateTopicRuleError
Source§impl Error for CreateTopicRuleError
impl Error for CreateTopicRuleError
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 CreateTopicRuleError
impl PartialEq for CreateTopicRuleError
impl StructuralPartialEq for CreateTopicRuleError
Auto Trait Implementations§
impl Freeze for CreateTopicRuleError
impl RefUnwindSafe for CreateTopicRuleError
impl Send for CreateTopicRuleError
impl Sync for CreateTopicRuleError
impl Unpin for CreateTopicRuleError
impl UnwindSafe for CreateTopicRuleError
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