You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: skopeo.rs
    path of file: ./repos/engine/src/cmd
    
    the code of the file until where you have to start completion: use crate::cmd::command::{CommandError, CommandKiller, ExecutableCommand, QoveryCommand};
use crate::cmd::docker::ContainerImage;

use std::process::ExitStatus;

use serde_derive::Deserialize;
use std::time::Duration;

#[derive(thiserror::Error, Debug)]
pub enum SkopeoError {
    #[error("Skopeo terminated with a non success exit status code: {exit_status:?}")]
    ExitStatusError { exit_status: ExitStatus },

    #[error("Skopeo terminated with an unknown error: {raw_error:?}")]
    ExecutionError { raw_error: std::io::Error },

    #[error("Skopeo aborted due to user cancel request: {raw_error_message:?}")]
    Aborted { raw_error_message: String },

    #[error("Skopeo command terminated due to timeout: {raw_error_message:?}")]
    Timeout { raw_error_message: String },
}

impl SkopeoError {
    pub fn is_aborted(&self) -> bool {
        matches!(sel
    
    pub fn list_tags(&self, image: &ContainerImage, tls_verify: bool) -> Result<Vec<String>, SkopeoError> {
        let uri = format!("docker://{}", image.repository_with_host());
        info!("listing image tags {}", uri);

        let tls = format!("--tls-verify={}", tls_verify);
        let creds = if let Some((user, pass)) = &self.credentials {
            format!("--creds={}:{}", user, pass)
        } else {
            "--no-creds".to_string()
        };
        let args = &["list-tags", &tls, &creds, "--retry-times=5", &uri];
        let mut output: Vec<String> = vec![];
        skopeo_exec(
            args,
            &self.get_all_envs(&[]),
            &mut |line| {
                info!("{}", line);
                output.push(line);
            },
            &mut |line| info!("{}", line),
            &CommandKiller::never(),
        )?;

        #[derive(Deserialize)]
        #[serde(rename_all = "PascalCase")]
        struct JsonOutput {
            //repository: String,
            tags: Vec<String>,
        }

        let output: JsonOutput =
            serde_json::from_str(&output.join("\n")).map_err(|err| SkopeoError::ExecutionError {
                raw_error: std::io::Error::new(
                    std::io::ErrorKind::InvalidData,
                    format!("Invalid JSON output: {:?} {}", err, output.join("\n")),
                ),
            })?;

        Ok(output.tags)
    }