pub enum CreateAgentError {
Internal(String),
InvalidRequest(String),
}
Expand description
Errors returned by CreateAgent
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 CreateAgentError
impl CreateAgentError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateAgentError>
Trait Implementations§
Source§impl Debug for CreateAgentError
impl Debug for CreateAgentError
Source§impl Display for CreateAgentError
impl Display for CreateAgentError
Source§impl Error for CreateAgentError
impl Error for CreateAgentError
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 CreateAgentError
impl PartialEq for CreateAgentError
impl StructuralPartialEq for CreateAgentError
Auto Trait Implementations§
impl Freeze for CreateAgentError
impl RefUnwindSafe for CreateAgentError
impl Send for CreateAgentError
impl Sync for CreateAgentError
impl Unpin for CreateAgentError
impl UnwindSafe for CreateAgentError
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