pub enum StartServerError {
InternalServiceError(String),
InvalidRequest(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}
Expand description
Errors returned by StartServer
Variants§
InternalServiceError(String)
This exception is thrown when an error occurs in the Amazon Web ServicesTransfer 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 Amazon Web ServicesTransfer Family service.
The request has failed because the Amazon Web ServicesTransfer Family service is not available.
Throttling(String)
The request was denied due to request throttling.
HTTP Status Code: 400
Implementations§
Source§impl StartServerError
impl StartServerError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StartServerError>
Trait Implementations§
Source§impl Debug for StartServerError
impl Debug for StartServerError
Source§impl Display for StartServerError
impl Display for StartServerError
Source§impl Error for StartServerError
impl Error for StartServerError
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 StartServerError
impl PartialEq for StartServerError
impl StructuralPartialEq for StartServerError
Auto Trait Implementations§
impl Freeze for StartServerError
impl RefUnwindSafe for StartServerError
impl Send for StartServerError
impl Sync for StartServerError
impl Unpin for StartServerError
impl UnwindSafe for StartServerError
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