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