pub enum GetJobUnlockCodeError {
InvalidJobState(String),
InvalidResource(String),
}Expand description
Errors returned by GetJobUnlockCode
Variants§
InvalidJobState(String)
The action can't be performed because the job's current state doesn't allow that action to be performed.
InvalidResource(String)
The specified resource can't be found. Check the information you provided in your last request, and try again.
Implementations§
Source§impl GetJobUnlockCodeError
impl GetJobUnlockCodeError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetJobUnlockCodeError>
Trait Implementations§
Source§impl Debug for GetJobUnlockCodeError
impl Debug for GetJobUnlockCodeError
Source§impl Display for GetJobUnlockCodeError
impl Display for GetJobUnlockCodeError
Source§impl Error for GetJobUnlockCodeError
impl Error for GetJobUnlockCodeError
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 GetJobUnlockCodeError
impl PartialEq for GetJobUnlockCodeError
impl StructuralPartialEq for GetJobUnlockCodeError
Auto Trait Implementations§
impl Freeze for GetJobUnlockCodeError
impl RefUnwindSafe for GetJobUnlockCodeError
impl Send for GetJobUnlockCodeError
impl Sync for GetJobUnlockCodeError
impl Unpin for GetJobUnlockCodeError
impl UnwindSafe for GetJobUnlockCodeError
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