pub enum CreateJobError {
BadRequest(String),
Conflict(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by CreateJob
Variants§
BadRequest(String)
The service can't process your request because of a problem in the request. Please check your request form and syntax.
Conflict(String)
The service couldn't complete your request because there is a conflict with the current state of the resource.
Forbidden(String)
You don't have permissions for this action with the credentials you sent.
InternalServerError(String)
The service encountered an unexpected condition and can't fulfill your request.
NotFound(String)
The resource you requested doesn't exist.
TooManyRequests(String)
Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
Implementations§
Source§impl CreateJobError
impl CreateJobError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateJobError>
Trait Implementations§
Source§impl Debug for CreateJobError
impl Debug for CreateJobError
Source§impl Display for CreateJobError
impl Display for CreateJobError
Source§impl Error for CreateJobError
impl Error for CreateJobError
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 CreateJobError
impl PartialEq for CreateJobError
impl StructuralPartialEq for CreateJobError
Auto Trait Implementations§
impl Freeze for CreateJobError
impl RefUnwindSafe for CreateJobError
impl Send for CreateJobError
impl Sync for CreateJobError
impl Unpin for CreateJobError
impl UnwindSafe for CreateJobError
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