pub enum StopServerError {
InternalServiceError(String),
InvalidRequest(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}Expand description
Errors returned by StopServer
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.
Throttling(String)
The request was denied due to request throttling.
HTTP Status Code: 400
Implementations§
Source§impl StopServerError
impl StopServerError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<StopServerError>
Trait Implementations§
Source§impl Debug for StopServerError
impl Debug for StopServerError
Source§impl Display for StopServerError
impl Display for StopServerError
Source§impl Error for StopServerError
impl Error for StopServerError
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 StopServerError
impl PartialEq for StopServerError
impl StructuralPartialEq for StopServerError
Auto Trait Implementations§
impl Freeze for StopServerError
impl RefUnwindSafe for StopServerError
impl Send for StopServerError
impl Sync for StopServerError
impl Unpin for StopServerError
impl UnwindSafe for StopServerError
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