pub enum GetTopicRuleError {
Internal(String),
InvalidRequest(String),
ServiceUnavailable(String),
Unauthorized(String),
}
Expand description
Errors returned by GetTopicRule
Variants§
Internal(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
The service is temporarily unavailable.
You are not authorized to perform this operation.
Implementations§
Source§impl GetTopicRuleError
impl GetTopicRuleError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetTopicRuleError>
Trait Implementations§
Source§impl Debug for GetTopicRuleError
impl Debug for GetTopicRuleError
Source§impl Display for GetTopicRuleError
impl Display for GetTopicRuleError
Source§impl Error for GetTopicRuleError
impl Error for GetTopicRuleError
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 GetTopicRuleError
impl PartialEq for GetTopicRuleError
impl StructuralPartialEq for GetTopicRuleError
Auto Trait Implementations§
impl Freeze for GetTopicRuleError
impl RefUnwindSafe for GetTopicRuleError
impl Send for GetTopicRuleError
impl Sync for GetTopicRuleError
impl Unpin for GetTopicRuleError
impl UnwindSafe for GetTopicRuleError
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