pub enum CreateServerError {
AccessDenied(String),
InternalServiceError(String),
InvalidRequest(String),
ResourceExists(String),
ServiceUnavailable(String),
Throttling(String),
}
Expand description
Errors returned by CreateServer
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
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.
ResourceExists(String)
The requested resource does not exist.
The request has failed because the AWS Transfer Family service is not available.
Throttling(String)
The request was denied due to request throttling.
HTTP Status Code: 400
Implementations§
Source§impl CreateServerError
impl CreateServerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateServerError>
Trait Implementations§
Source§impl Debug for CreateServerError
impl Debug for CreateServerError
Source§impl Display for CreateServerError
impl Display for CreateServerError
Source§impl Error for CreateServerError
impl Error for CreateServerError
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 CreateServerError
impl PartialEq for CreateServerError
impl StructuralPartialEq for CreateServerError
Auto Trait Implementations§
impl Freeze for CreateServerError
impl RefUnwindSafe for CreateServerError
impl Send for CreateServerError
impl Sync for CreateServerError
impl Unpin for CreateServerError
impl UnwindSafe for CreateServerError
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