Docs.rs
  • theater-cli-0.2.0
    • theater-cli 0.2.0
    • Docs.rs crate page
    • Apache-2.0
    • 23 June 2025
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • colinrozzi
    • Dependencies
      • anyhow ^1.0 normal
      • bytes ^1.0 normal
      • chrono ^0.4 normal
      • clap ^4.4 normal
      • clap_complete ^4.4 normal
      • console ^0.15.7 normal
      • crossterm ^0.27 normal
      • csv ^1.3.0 normal
      • ctrlc ^3.4.1 normal
      • dialoguer ^0.11.0 normal
      • dirs ^5.0 normal
      • futures ^0.3 normal
      • hex ^0.4.3 normal
      • indicatif ^0.17.7 normal
      • ratatui ^0.26 normal
      • rustyline ^13.0.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • serde_yaml ^0.9.34 normal
      • shellexpand ^3.1.1 normal
      • term_size ^0.3.2 normal
      • theater ^0.2.0 normal
      • theater-client ^0.2.0 normal
      • theater-server ^0.2.0 normal
      • thiserror ^1.0 normal
      • tokio ^1.0 normal
      • tokio-util ^0.7.13 normal
      • toml ^0.8 normal
      • tracing ^0.1 normal
      • tracing-subscriber ^0.3 normal
      • uuid ^1.6 normal
      • tempfile ^3.7 dev
    • Versions
    • 33.6% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

theater_cli0.2.0

OutputFormat

Required Methods

  • format_compact
  • format_detailed
  • format_pretty
  • format_table

Implementors

In theater_cli::output

theater_cli::output

Trait OutputFormat

Source
pub trait OutputFormat {
    // Required methods
    fn format_compact(&self, output: &OutputManager) -> CliResult<()>;
    fn format_pretty(&self, output: &OutputManager) -> CliResult<()>;
    fn format_table(&self, output: &OutputManager) -> CliResult<()>;
    fn format_detailed(&self, output: &OutputManager) -> CliResult<()>;
}
Expand description

Trait for types that can be formatted in different ways

Required Methods§

Source

fn format_compact(&self, output: &OutputManager) -> CliResult<()>

Source

fn format_pretty(&self, output: &OutputManager) -> CliResult<()>

Source

fn format_table(&self, output: &OutputManager) -> CliResult<()>

Source

fn format_detailed(&self, output: &OutputManager) -> CliResult<()>

Implementors§

Source§

impl OutputFormat for ActorAction

Source§

impl OutputFormat for ActorEvents

Source§

impl OutputFormat for ActorInspection

Source§

impl OutputFormat for ActorList

Source§

impl OutputFormat for ActorLogs

Source§

impl OutputFormat for ActorStarted

Source§

impl OutputFormat for ActorState

Source§

impl OutputFormat for BuildResult

Source§

impl OutputFormat for ChannelOpened

Source§

impl OutputFormat for ComponentUpdate

Source§

impl OutputFormat for EventSubscription

Source§

impl OutputFormat for MessageResponse

Source§

impl OutputFormat for MessageSent

Source§

impl OutputFormat for ProjectCreated

Source§

impl OutputFormat for ServerInfo

Source§

impl OutputFormat for ServerStarted

Source§

impl OutputFormat for StoredActorList