pub enum DeleteJobError {
InvalidRequest(String),
InvalidStateTransition(String),
LimitExceeded(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}Expand description
Errors returned by DeleteJob
Variants§
InvalidRequest(String)
The request is not valid.
InvalidStateTransition(String)
An attempt was made to change to an invalid state, for example by deleting a job or a job execution which is "IN_PROGRESS" without setting the force parameter.
LimitExceeded(String)
A limit has been exceeded.
ResourceNotFound(String)
The specified resource does not exist.
The service is temporarily unavailable.
Throttling(String)
The rate exceeds the limit.
Implementations§
Source§impl DeleteJobError
impl DeleteJobError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteJobError>
Trait Implementations§
Source§impl Debug for DeleteJobError
impl Debug for DeleteJobError
Source§impl Display for DeleteJobError
impl Display for DeleteJobError
Source§impl Error for DeleteJobError
impl Error for DeleteJobError
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 DeleteJobError
impl PartialEq for DeleteJobError
impl StructuralPartialEq for DeleteJobError
Auto Trait Implementations§
impl Freeze for DeleteJobError
impl RefUnwindSafe for DeleteJobError
impl Send for DeleteJobError
impl Sync for DeleteJobError
impl Unpin for DeleteJobError
impl UnwindSafe for DeleteJobError
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