pub enum DescribeServerError {
InternalServiceError(String),
InvalidRequest(String),
ResourceNotFound(String),
ServiceUnavailable(String),
}Expand description
Errors returned by DescribeServer
Variants§
InternalServiceError(String)
This exception is thrown when an error occurs in the AWS Transfer Family service.
InvalidRequest(String)
This exception is thrown when the client submits a malformed request.
ResourceNotFound(String)
This exception is thrown when a resource is not found by the AWS Transfer Family service.
The request has failed because the AWS Transfer Family service is not available.
Implementations§
Source§impl DescribeServerError
impl DescribeServerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeServerError>
Trait Implementations§
Source§impl Debug for DescribeServerError
impl Debug for DescribeServerError
Source§impl Display for DescribeServerError
impl Display for DescribeServerError
Source§impl Error for DescribeServerError
impl Error for DescribeServerError
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 DescribeServerError
impl PartialEq for DescribeServerError
Source§fn eq(&self, other: &DescribeServerError) -> bool
fn eq(&self, other: &DescribeServerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeServerError
Auto Trait Implementations§
impl Freeze for DescribeServerError
impl RefUnwindSafe for DescribeServerError
impl Send for DescribeServerError
impl Sync for DescribeServerError
impl Unpin for DescribeServerError
impl UnsafeUnpin for DescribeServerError
impl UnwindSafe for DescribeServerError
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