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