pub enum ListTasksError {
Client(String),
ClusterNotFound(String),
InvalidParameter(String),
Server(String),
ServiceNotFound(String),
}
Expand description
Errors returned by ListTasks
Variants§
Client(String)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.
ClusterNotFound(String)
The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region-specific.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
Server(String)
These errors are usually caused by a server issue.
ServiceNotFound(String)
The specified service could not be found. You can view your available services with ListServices. Amazon ECS services are cluster-specific and Region-specific.
Implementations§
Source§impl ListTasksError
impl ListTasksError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<ListTasksError>
Trait Implementations§
Source§impl Debug for ListTasksError
impl Debug for ListTasksError
Source§impl Display for ListTasksError
impl Display for ListTasksError
Source§impl Error for ListTasksError
impl Error for ListTasksError
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 ListTasksError
impl PartialEq for ListTasksError
impl StructuralPartialEq for ListTasksError
Auto Trait Implementations§
impl Freeze for ListTasksError
impl RefUnwindSafe for ListTasksError
impl Send for ListTasksError
impl Sync for ListTasksError
impl Unpin for ListTasksError
impl UnwindSafe for ListTasksError
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