pub enum TerminateJobError {
Client(String),
Server(String),
}
Expand description
Errors returned by TerminateJob
Variants§
Client(String)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.
Server(String)
These errors are usually caused by a server issue.
Implementations§
Source§impl TerminateJobError
impl TerminateJobError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<TerminateJobError>
Trait Implementations§
Source§impl Debug for TerminateJobError
impl Debug for TerminateJobError
Source§impl Display for TerminateJobError
impl Display for TerminateJobError
Source§impl Error for TerminateJobError
impl Error for TerminateJobError
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 TerminateJobError
impl PartialEq for TerminateJobError
impl StructuralPartialEq for TerminateJobError
Auto Trait Implementations§
impl Freeze for TerminateJobError
impl RefUnwindSafe for TerminateJobError
impl Send for TerminateJobError
impl Sync for TerminateJobError
impl Unpin for TerminateJobError
impl UnwindSafe for TerminateJobError
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