pub enum GetBatchPredictionError {
InternalServer(String),
InvalidInput(String),
ResourceNotFound(String),
}
Expand description
Errors returned by GetBatchPrediction
Variants§
InternalServer(String)
An error on the server occurred when trying to process a request.
InvalidInput(String)
An error on the client occurred. Typically, the cause is an invalid input value.
ResourceNotFound(String)
A specified resource cannot be located.
Implementations§
Source§impl GetBatchPredictionError
impl GetBatchPredictionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetBatchPredictionError>
Trait Implementations§
Source§impl Debug for GetBatchPredictionError
impl Debug for GetBatchPredictionError
Source§impl Display for GetBatchPredictionError
impl Display for GetBatchPredictionError
Source§impl Error for GetBatchPredictionError
impl Error for GetBatchPredictionError
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 GetBatchPredictionError
impl PartialEq for GetBatchPredictionError
impl StructuralPartialEq for GetBatchPredictionError
Auto Trait Implementations§
impl Freeze for GetBatchPredictionError
impl RefUnwindSafe for GetBatchPredictionError
impl Send for GetBatchPredictionError
impl Sync for GetBatchPredictionError
impl Unpin for GetBatchPredictionError
impl UnwindSafe for GetBatchPredictionError
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