Trait wasmer_cli::utils::render::CliRender

source ·
pub trait CliRender: Serialize + Sized {
    // Required methods
    fn render_item_table(&self) -> String;
    fn render_list_table(items: &[Self]) -> String;

    // Provided methods
    fn render_item(&self, format: ItemFormat) -> String { ... }
    fn render_list(items: &[Self], format: ListFormat) -> String { ... }
}

Required Methods§

Provided Methods§

source

fn render_item(&self, format: ItemFormat) -> String

source

fn render_list(items: &[Self], format: ListFormat) -> String

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CliRender for AppRegion

source§

impl CliRender for AppVersionVolume

source§

impl CliRender for AutobuildRepository

source§

impl CliRender for DeployApp

source§

impl CliRender for DeployAppVersion

source§

impl CliRender for Deployment

source§

impl CliRender for DnsDomain

source§

impl CliRender for DnsDomainWithRecords

source§

impl CliRender for Log

source§

impl CliRender for NakedDeployment

source§

impl CliRender for Namespace

Implementors§