pub enum UpdateSamplingRuleError {
InvalidRequest(String),
Throttled(String),
}Expand description
Errors returned by UpdateSamplingRule
Variants§
InvalidRequest(String)
The request is missing required parameters or has invalid parameters.
Throttled(String)
The request exceeds the maximum number of requests per second.
Implementations§
Source§impl UpdateSamplingRuleError
impl UpdateSamplingRuleError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateSamplingRuleError>
Trait Implementations§
Source§impl Debug for UpdateSamplingRuleError
impl Debug for UpdateSamplingRuleError
Source§impl Display for UpdateSamplingRuleError
impl Display for UpdateSamplingRuleError
Source§impl Error for UpdateSamplingRuleError
impl Error for UpdateSamplingRuleError
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 UpdateSamplingRuleError
impl PartialEq for UpdateSamplingRuleError
impl StructuralPartialEq for UpdateSamplingRuleError
Auto Trait Implementations§
impl Freeze for UpdateSamplingRuleError
impl RefUnwindSafe for UpdateSamplingRuleError
impl Send for UpdateSamplingRuleError
impl Sync for UpdateSamplingRuleError
impl Unpin for UpdateSamplingRuleError
impl UnwindSafe for UpdateSamplingRuleError
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