Trait escapade::EscapedWrite [] [src]

pub trait EscapedWrite<T> {
    fn write_str(&mut self, value: T) -> Result<()>;
}

Escaped writing to buffers

This trait handles writing of different kinds of values to an EscapedWriter. It is intended to be implemented for EscapedWriter for each kind of value that is allowed to be written to.

The implementor must properly escape the passed value before writing it.

Required Methods

Write the passed string-like value to the writer, returning the writers Result.

Implementors