pub enum SendCommandError {
BadRequest(String),
InvalidSession(String),
LimitExceeded(String),
OccConflict(String),
RateExceeded(String),
}Expand description
Errors returned by SendCommand
Variants§
BadRequest(String)
Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
InvalidSession(String)
Returned if the session doesn't exist anymore because it timed out or expired.
LimitExceeded(String)
Returned if a resource limit such as number of active sessions is exceeded.
OccConflict(String)
Returned when a transaction cannot be written to the journal due to a failure in the verification phase of optimistic concurrency control (OCC).
RateExceeded(String)
Returned when the rate of requests exceeds the allowed throughput.
Implementations§
Source§impl SendCommandError
impl SendCommandError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<SendCommandError>
Trait Implementations§
Source§impl Debug for SendCommandError
impl Debug for SendCommandError
Source§impl Display for SendCommandError
impl Display for SendCommandError
Source§impl Error for SendCommandError
impl Error for SendCommandError
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 SendCommandError
impl PartialEq for SendCommandError
impl StructuralPartialEq for SendCommandError
Auto Trait Implementations§
impl Freeze for SendCommandError
impl RefUnwindSafe for SendCommandError
impl Send for SendCommandError
impl Sync for SendCommandError
impl Unpin for SendCommandError
impl UnwindSafe for SendCommandError
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