Skip to main content

WriteChangeLine

Trait WriteChangeLine 

Source
pub trait WriteChangeLine: Write {
    // Provided methods
    fn write_change_line(
        &mut self,
        pref: &str,
        contents: &str,
    ) -> Result<(), Error> { ... }
    fn write_change_line_binary(
        &mut self,
        pref: &str,
        contents: &[u8],
    ) -> Result<(), Error> { ... }
}

Provided Methods§

Source

fn write_change_line(&mut self, pref: &str, contents: &str) -> Result<(), Error>

Source

fn write_change_line_binary( &mut self, pref: &str, contents: &[u8], ) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl WriteChangeLine for &mut Stderr

Source§

impl WriteChangeLine for &mut Stdout

Source§

impl WriteChangeLine for &mut Vec<u8>

Implementors§