ShellPrintableWithOptions

Trait ShellPrintableWithOptions 

Source
pub trait ShellPrintableWithOptions {
    // Required methods
    fn printable_invocation_string_with_options(
        &self,
        formatting_options: FormattingOptions,
    ) -> Result<String, Utf8Error>;
    fn printable_invocation_string_lossy_with_options(
        &self,
        formatting_options: FormattingOptions,
    ) -> String;

    // Provided methods
    fn print_invocation_with_options(
        &mut self,
        formatting_options: FormattingOptions,
    ) -> Result<&mut Self, Utf8Error> { ... }
    fn print_invocation_lossy_with_options(
        &mut self,
        formatting_options: FormattingOptions,
    ) -> &mut Self { ... }
}

Required Methods§

Provided Methods§

Source

fn print_invocation_with_options( &mut self, formatting_options: FormattingOptions, ) -> Result<&mut Self, Utf8Error>

Source

fn print_invocation_lossy_with_options( &mut self, formatting_options: FormattingOptions, ) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ShellPrintableWithOptions for Command

Implementors§