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