pub enum UpdateAgentError {
Internal(String),
InvalidRequest(String),
}
Expand description
Errors returned by UpdateAgent
Variants§
Internal(String)
This exception is thrown when an error occurs in the AWS DataSync service.
InvalidRequest(String)
This exception is thrown when the client submits a malformed request.
Implementations§
Source§impl UpdateAgentError
impl UpdateAgentError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateAgentError>
Trait Implementations§
Source§impl Debug for UpdateAgentError
impl Debug for UpdateAgentError
Source§impl Display for UpdateAgentError
impl Display for UpdateAgentError
Source§impl Error for UpdateAgentError
impl Error for UpdateAgentError
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 UpdateAgentError
impl PartialEq for UpdateAgentError
impl StructuralPartialEq for UpdateAgentError
Auto Trait Implementations§
impl Freeze for UpdateAgentError
impl RefUnwindSafe for UpdateAgentError
impl Send for UpdateAgentError
impl Sync for UpdateAgentError
impl Unpin for UpdateAgentError
impl UnwindSafe for UpdateAgentError
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